Template:TColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><span style="color:{{#switch:{{{ | <includeonly><span style="color:{{#switch:{{{1|}}} | ||
|#default = #000000 | |#default = #000000 | ||
|silver = #C0C0C0 | |silver = #C0C0C0 | ||
| Line 15: | Line 15: | ||
|fuchsia = #FF00FF | |fuchsia = #FF00FF | ||
|purple = #800080 | |purple = #800080 | ||
}}">'''{{{ | }}">'''{{{text}}}'''</span></includeonly><noinclude> | ||
{{/doc}} | {{/doc}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 18:58, 4 June 2020
Template documentation
This documentation is transcluded from Template:TColor/doc. [edit] [purge]
This makes text any color of the following color parameters.
Syntax
{{{TColor|<Text Color>|<Text>|<Background Color>(Optional)}}
Usage
Without background:
{{TColor|fuchsia|example text}}
{{{text}}}
With background
{{TColor|white|example text|green}}
{{{text}}}
More Examples:
{{{text}}}
{{{text}}}
{{{text}}}
With Formatting
{{TColor|fuchsia|'''example text'''}}
{{{text}}}
Parameters
black- {{{text}}}silver- {{{text}}}gray- {{{text}}}red- {{{text}}}maroon- {{{text}}}yellow- {{{text}}}olive- {{{text}}}lime- {{{text}}}green- {{{text}}}aqua- {{{text}}}teal- {{{text}}}blue- {{{text}}}navy- {{{text}}}fuchsia- {{{text}}}purple- {{{text}}}gold- {{{text}}}gemini- {{{text}}}orange- {{{text}}}