Template:TColor/doc: Difference between revisions

Created page with "{{documentation}} This makes text bold and uses any of the following color parameters. ===Usage=== <pre> *<code>silver</code> *<code>gray</code> *<code>red</code> *<code>mar..."
 
mNo edit summary
 
(9 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===
<pre>
'''Without background''':
*<code>silver</code>
<pre>{{TColor|fuchsia|example text}}</pre>
*<code>gray</code>
 
*<code>red</code>
{{TColor|fuchsia|example text}}
*<code>maroon</code>
 
*<code>yellow</code>
'''With background'''
*<code>olive</code>
<pre>{{TColor|white|example text|green}}</pre>
*<code>lime</code>
 
*<code>green</code>
{{TColor|white|example text|green}}<br>
*<code>aqua</code>
 
*<code>teal</code>
'''More Examples:'''<br>
*<code>blue</code>
{{TColor|white|example text|black}}<br>
*<code>navy</code>
{{TColor|white|example text|blue}}<br>
*<code>fuchsia</code>
{{TColor|gold|example text|maroon}}
*<code>purple</code>
 
</pre>
'''With Formatting'''
<pre>{{TColor|fuchsia|'''example text'''}}</pre>
 
{{TColor|fuchsia|'''example text'''}}
 
===Parameters===
*<code>black</code> - {{TColor|black|text}}
*<code>silver</code> - {{TColor|silver|text}}
*<code>gray</code> - {{TColor|gray|text}}
*<code>red</code> - {{TColor|red|text}}
*<code>maroon</code> - {{TColor|maroon|text}}
*<code>yellow</code> - {{TColor|yellow|text}}
*<code>olive</code> - {{TColor|olive|text}}
*<code>lime</code> - {{TColor|lime|text}}
*<code>green</code> - {{TColor|green|text}}
*<code>aqua</code> - {{TColor|aqua|text}}
*<code>teal</code> - {{TColor|teal|text}}
*<code>blue</code> - {{TColor|blue|text}}
*<code>navy</code> - {{TColor|navy|text}}
*<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}}