Difference between revisions of "Template:Task"

From "A B C"
Jump to navigation Jump to search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="task">
+
<noinclude>
<span: style="color: #666666; font-size: 80%;">Task:</span>
+
;Note:
 
+
:If there are equal signs in the template text, use the template with a numbered parameter, to prevent the prefix to be interpreted as a name. Example:
 +
<code>
 +
<nowiki>{{</nowiki>task|1=<br />
 +
&nbsp;&nbsp;&nbsp;&lt;span style="color:#CC0000">Test</span><br />
 +
}}
 +
</code>
 +
</noinclude><div class="task">
 +
<span style="color: #666666; font-size: 80%;">Task:</span><br />
 
{{{1}}}
 
{{{1}}}
 
</div>
 
</div>

Latest revision as of 11:10, 8 September 2020

Note
If there are equal signs in the template text, use the template with a numbered parameter, to prevent the prefix to be interpreted as a name. Example:

{{task|1=
   <span style="color:#CC0000">Test
}}

Task:
{{{1}}}