Difference between revisions of "Template:Redlight"

From PC-BSD Wiki
Jump to: navigation, search
(One intermediate revision by one user not shown)
Line 1: Line 1:
<includeonly><span style="background: crimson; color: #FFFFFF;">&nbsp;{{{text|{{{1|}}}}}}&nbsp;</span></includeonly><noinclude>
+
<includeonly><span class="redlight" >&nbsp;{{{text|{{{1|}}}}}}&nbsp;</span></includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
'''<nowiki>{{</nowiki>redlight{{pipe}}text='''''text to redlight'''''<nowiki>}}</nowiki>'''
 
'''<nowiki>{{</nowiki>redlight{{pipe}}text='''''text to redlight'''''<nowiki>}}</nowiki>'''
 
== Explanation ==
 
== Explanation ==
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.
+
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><!-- there must be no space or text after this comment -->
</noinclude>[[category:uses redlight]]<noinclude>[[category:templates]][[category:style]]</noinclude><!-- there must be no space or text after this comment -->
+

Revision as of 23:29, 22 April 2013

Usage

{{redlight|text=text to redlight}}

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.