Difference between revisions of "Template:Highlight"

From PC-BSD Wiki
Jump to: navigation, search
(Created page with "<onlyinclude><span style="background: yellow;">{{{text|{{{1|}}}}}}</span></onlyinclude> <noinclude> This is a simple template to {{highlight|highlight}} text that could also h...")
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
<onlyinclude><span style="background: yellow;">{{{text|{{{1|}}}}}}</span></onlyinclude>
+
<span style="background: yellow; color: #000000;">{{{text|{{{1|}}}}}}</span><noinclude>
<noinclude>
+
This is a simple template to {{Highlight|text=highlight}} text that could {{Highlight|also have '''bold''' or ''italic'', which}} in the situation of indicating a change may cause confusion. If an equal sign (=) causes trouble, assign the target to the variable '''''text'''''.
This is a simple template to {{highlight|highlight}} text that could also have bold or italic, which in the situation of indicating a change may cause confusion. In the situation where an equal sign (=) causes trouble, assign the target to the variable '''''text'''''.
+
</noinclude>[[category:uses highlight]]<noinclude>[[category:templates]][[category:style]]</noinclude><!-- there must be no space or text after this comment -->
</noinclude>
+
[[category:uses highlight]]
+
<noinclude>
+
[[category:templates]]
+
</noinclude>
+

Revision as of 13:15, 7 February 2013

This is a simple template to highlight text that could also have bold or italic, which in the situation of indicating a change may cause confusion. If an equal sign (=) causes trouble, assign the target to the variable text.