Template:TColor: Difference between revisions

mNo edit summary
mNo edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="color:{{#switch:{{{color|}}}
<includeonly><span style=
"color:{{#switch:{{{1|}}}
|black = #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 = #FFD700
|gemini = #04090a
|#default = #000000
|#default = #000000
}};
background-color:{{#if:{{{3|}}}|{{#switch:{{{3}}}|
|white = #FFFFFF
|black = #000000
|silver = #C0C0C0
|silver = #C0C0C0
|gray = #808080
|gray = #808080
Line 15: Line 39:
|fuchsia = #FF00FF
|fuchsia = #FF00FF
|purple = #800080
|purple = #800080
}}">'''{{{color}}}'''</span></includeonly><noinclude>
|orange = #FFA500
|gold = #FFD700
|gemini = #04090a
|#default = #FFFFFF
}}}}"
>{{{2}}}</span></includeonly><noinclude>
{{/doc}}
{{/doc}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>