Difference between revisions of "Template:Redlight"

From PC-BSD Wiki
Jump to: navigation, search
 
(8 intermediate revisions by one user not shown)
Line 1: Line 1:
<onlyinclude><span style="background: crimson; color: #FFFFFF;">{{{text|{{{1|}}}}}}</span></onlyinclude>
+
<includeonly><span class="redlight" >&nbsp;{{{text|{{{1|}}}}}}&nbsp;</span></includeonly><noinclude>
<noinclude>
+
== Usage ==
This is a simple template to {{redlight|text=redlight}} text that could {{redlight|also have '''bold''' or ''italic''.}} If an equal sign (=) causes trouble, assign the target to the variable '''''text'''''.
+
'''<nowiki>{{</nowiki>redlight{{pipe}}text='''''text to redlight'''''<nowiki>}}</nowiki>'''
</noinclude>
+
== Explanation ==
[[category:uses highlight]]
+
This is a simple template to {{redlight|text=redlight}} text that could {{redlight|also have '''bold''' or ''italic'' style.}} If an equal sign (=) causes trouble, assign the target to the variable '''''text'''''. Please note that this template adds padding of one space to either side of the text content.</noinclude>[[category:uses redlight]]<noinclude>[[category:templates]][[category:style]]</noinclude>
<noinclude>
+
[[category:templates]]
+
</noinclude>
+

Latest revision as of 01:36, 15 September 2013

[edit] Usage

{{redlight|text=text to redlight}}

[edit] Explanation

This is a simple template to  redlight  text that could  also have bold or italic style.  If an equal sign (=) causes trouble, assign the target to the variable text. Please note that this template adds padding of one space to either side of the text content.