Template:TColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><span style= | <includeonly><span style= | ||
"color:{{#switch:{{{2 | "color:{{#switch:{{{2}}} | ||
|#default = #000000 | |#default = #000000 | ||
|silver = #C0C0C0 | |silver = #C0C0C0 | ||
Revision as of 19:09, 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}}
fuchsia
With background
{{TColor|white|example text|green}}
white
More Examples:
white
white
gold
With Formatting
{{TColor|fuchsia|'''example text'''}}
fuchsia
Parameters
black- blacksilver- silvergray- grayred- redmaroon- maroonyellow- yellowolive- olivelime- limegreen- greenaqua- aquateal- tealblue- bluenavy- navyfuchsia- fuchsiapurple- purplegold- goldgemini- geminiorange- orange