Difference between revisions of "Template:Highlight"
From PC-BSD Wiki
Tigersharke (Talk | contribs) |
Tigersharke (Talk | contribs) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | <span | + | <span class="highlight" >{{{text|{{{1|}}}}}}</span><noinclude> |
| + | == Usage == | ||
| + | '''<nowiki>{{</nowiki>highlight{{pipe}}text='''''text to highlight'''''<nowiki>}}</nowiki>''' | ||
| + | == Explanation == | ||
This is a simple template to {{Highlight|text=highlight}} text that could {{Highlight|also have '''bold''' or ''italic'' style,}} which in the situation of indicating a change may cause confusion. If an equal sign (=) causes trouble, assign the target to the variable '''''text'''''. The text is ''not'' padded and will not ever be padded within this template due to usage needs. | This is a simple template to {{Highlight|text=highlight}} text that could {{Highlight|also have '''bold''' or ''italic'' style,}} which in the situation of indicating a change may cause confusion. If an equal sign (=) causes trouble, assign the target to the variable '''''text'''''. The text is ''not'' padded and will not ever be padded within this template due to usage needs. | ||
</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]][[category:style]]</noinclude><!-- there must be no space or text after this comment --> | ||
Latest revision as of 23:19, 22 April 2013
[edit] Usage
{{highlight|text=text to highlight}}
[edit] Explanation
This is a simple template to highlight text that could also have bold or italic style, which in the situation of indicating a change may cause confusion. If an equal sign (=) causes trouble, assign the target to the variable text. The text is not padded and will not ever be padded within this template due to usage needs.