Template:TColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
"color:{{#switch:{{{1|}}} | "color:{{#switch:{{{1|}}} | ||
|#default = #000000 | |#default = #000000 | ||
|black = #000000 | |||
|white = #FFFFFF | |white = #FFFFFF | ||
|silver = #C0C0C0 | |silver = #C0C0C0 | ||
| Line 22: | Line 23: | ||
}}; | }}; | ||
background-color:{{#switch:{{{3}}} | background-color:{{#switch:{{{3}}} | ||
|#default = # | |#default = #ffffff | ||
|white = #FFFFFF | |white = #FFFFFF | ||
|black = #000000 | |||
|silver = #C0C0C0 | |silver = #C0C0C0 | ||
|gray = #808080 | |gray = #808080 | ||
Revision as of 20:07, 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}}
example text
With background
{{TColor|white|example text|green}}
example text
More Examples:
example text
example text
example text
With Formatting
{{TColor|fuchsia|'''example text'''}}
'example text'
Parameters
black- textsilver- textgray- textred- textmaroon- textyellow- textolive- textlime- textgreen- textaqua- textteal- textblue- textnavy- textfuchsia- textpurple- textgold- textgemini- textorange- text