Template:TColor/doc: Difference between revisions

mNo edit summary
mNo edit summary
 
(7 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>silver</code>
*<code>black</code> - {{TColor|black|text}}
*<code>gray</code>
*<code>silver</code> - {{TColor|silver|text}}
*<code>red</code>
*<code>gray</code> - {{TColor|gray|text}}
*<code>maroon</code>
*<code>red</code> - {{TColor|red|text}}
*<code>yellow</code>
*<code>maroon</code> - {{TColor|maroon|text}}
*<code>olive</code>
*<code>yellow</code> - {{TColor|yellow|text}}
*<code>lime</code>
*<code>olive</code> - {{TColor|olive|text}}
*<code>green</code>
*<code>lime</code> - {{TColor|lime|text}}
*<code>aqua</code>
*<code>green</code> - {{TColor|green|text}}
*<code>teal</code>
*<code>aqua</code> - {{TColor|aqua|text}}
*<code>blue</code>
*<code>teal</code> - {{TColor|teal|text}}
*<code>navy</code>
*<code>blue</code> - {{TColor|blue|text}}
*<code>fuchsia</code>
*<code>navy</code> - {{TColor|navy|text}}
*<code>purple</code>
*<code>fuchsia</code> - {{TColor|fuchsia|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}}