Template:TColor/doc: Difference between revisions

mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation}}
{{documentation}}


This makes text bold and uses any of the following color parameters.
This makes text any color of the following color parameters.
 
===Syntax===
<pre>{{{TColor|<Text Color>|<Text>|<Background Color>(Optional)}}</pre>


===Usage===
===Usage===
{{t|TColor|fuchsia|example text}} would output:
'''Without background''':
<pre>{{TColor|fuchsia|example text}}</pre>


{{TColor|fuchsia|example text}}
{{TColor|fuchsia|example text}}
'''With background'''
<pre>{{TColor|white|example text|green}}</pre>
{{TColor|white|example text|green}}<br>
'''More Examples:'''<br>
{{TColor|white|example text|black}}<br>
{{TColor|white|example text|blue}}<br>
{{TColor|gold|example text|maroon}}
'''With Formatting'''
<pre>{{TColor|fuchsia|'''example text'''}}</pre>
{{TColor|fuchsia|'''example text'''}}


===Parameters===
===Parameters===
*<code>black</code> - {{TColor|black|text}}
*<code>silver</code> - {{TColor|silver|text}}
*<code>silver</code> - {{TColor|silver|text}}
*<code>gray</code> - {{TColor|gray|text}}
*<code>gray</code> - {{TColor|gray|text}}
Line 23: Line 43:
*<code>fuchsia</code> - {{TColor|fuchsia|text}}
*<code>fuchsia</code> - {{TColor|fuchsia|text}}
*<code>purple</code> - {{TColor|purple|text}}
*<code>purple</code> - {{TColor|purple|text}}
*<code>gold</code> - {{TColor|gold|text}}
*<code>gemini</code> - {{TColor|gemini|text}}
*<code>orange</code> - {{TColor|orange|text}}