Difference between revisions of "Template:Highlight"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
<span style="background: yellow; color: #000000;">{{{text|{{{1|}}}}}}</span><noinclude>
+
<span class="highlight" >{{{text|{{{1|}}}}}}</span><noinclude>
 
== Usage ==
 
== Usage ==
 
'''<nowiki>{{</nowiki>highlight{{pipe}}text='''''text to highlight'''''<nowiki>}}</nowiki>'''
 
'''<nowiki>{{</nowiki>highlight{{pipe}}text='''''text to highlight'''''<nowiki>}}</nowiki>'''

Revision as of 22:19, 22 April 2013

Usage

{{highlight|text=text to highlight}}

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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox