Difference between revisions of "Template:Orangelight"

From PC-BSD Wiki
Jump to: navigation, search
(Created page with "<includeonly><span style="background: #8B5A00; color: #FFFFFF;"> {{{text|{{{1|}}}}}} </span></includeonly><noinclude> == Usage == '''<nowiki>{{</nowiki>redlight{{pip...")
 
(convert from inline style to CSS class selector method :))
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><span style="background: #8B5A00; color: #FFFFFF;">&nbsp;{{{text|{{{1|}}}}}}&nbsp;</span></includeonly><noinclude>
+
<includeonly><span class="orangelight" >&nbsp;{{{text|{{{1|}}}}}}&nbsp;</span></includeonly><noinclude>
 
== Usage ==
 
== Usage ==
'''<nowiki>{{</nowiki>redlight{{pipe}}text='''''text to redlight'''''<nowiki>}}</nowiki>'''
+
'''<nowiki>{{</nowiki>orangelight{{pipe}}text='''''text to orangelight'''''<nowiki>}}</nowiki>'''
 
== Explanation ==
 
== Explanation ==
This is a simple template to {{orangelight|text=orangelight}} text that could {{orangelight|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 {{orangelight|text=orangelight}} text that could {{orangelight|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 orangelight]]<noinclude>[[category:templates]][[category:style]]</noinclude><!-- there must be no space or text after this comment -->
</noinclude>[[category:uses orangelight]]<noinclude>[[category:templates]][[category:style]]</noinclude><!-- there must be no space or text after this comment -->
+

Revision as of 22:24, 22 April 2013

Usage

{{orangelight|text=text to orangelight}}

Explanation

This is a simple template to  orangelight  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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox