Template:TColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 20: | Line 20: | ||
|gold = #FFA500 | |gold = #FFA500 | ||
|gemini = #04090a | |gemini = #04090a | ||
}}">'''{{{2}}}'''</span></includeonly><noinclude> | }}" | ||
background-color:"{{#switch:{{{3|}}} | |||
|#default = #000000 | |||
|white = #FFFFFF | |||
|silver = #C0C0C0 | |||
|gray = #808080 | |||
|red = #FF0000 | |||
|maroon = #800000 | |||
|yellow = #FFFF00 | |||
|olive = #808000 | |||
|lime = #00FF00 | |||
|green = #008000 | |||
|aqua = #00FFFF | |||
|teal = #008080 | |||
|blue = #0000FF | |||
|navy = #000080 | |||
|fuchsia = #FF00FF | |||
|purple = #800080 | |||
|orange = #FFA500 | |||
|gold = #FFA500 | |||
|gemini = #04090a | |||
}}" | |||
>'''{{{2}}}'''</span></includeonly><noinclude> | |||
{{/doc}} | {{/doc}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 19:54, 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