YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Color"

From Discovery Wiki
Jump to navigationJump to search
(Replaced content with "<span style="color:{{{1|#ffffff}}}">{{{2|}}}</span>")
Line 1: Line 1:
<noinclude>[[Category:Templates]]<!--</noinclude>{{color/1}}{{#switch: {{{1|white}}}
+
<span style="color:{{{1|#ffffff}}}">{{{2|}}}</span>
| r
 
| red = #FF0000
 
| classified
 
| lred
 
| lightred = #990000
 
| g
 
| green = #00FF00
 
| hull
 
| lgreen
 
| lightgreen = #009900
 
| b
 
| blue = #0000FF
 
| shield
 
| lblue
 
| lightblue = #000099
 
| reactor
 
| a
 
| amber = #FFBF00
 
| y
 
| yellow = #FFFF00
 
| p
 
| purple = #800080
 
| w
 
| white = #FFFFFF
 
| black = #000000
 
| #default = {{{1|white}}}}} {{#if: | {{{2}}} | {{{2}}} {{/color}}}}
 
<noinclude>-->[[wikipedia:HTML colors|HTML colors]]<br>
 
<pre>{{color|<color>|text}}
 
<color> can be any HTML color, as well as amber (reactor color), lightgreen (hull color), lightred (CLASSIFIED color), lightblue (shield color)</pre>
 
{{color|#ff0000|"r" "red" or "#ff0000"}}
 
{{color|#990000|"lightr" "lightred" "classified" or "#990000"}}
 
{{color|#00ff00|"g" "green" or "#00ff00"}}
 
{{color|#009900|"lightg" "lightgreen" "hull" or "#009900"}}
 
{{color|#0000ff|"b" "blue" or "#0000ff"}}
 
{{color|#000099|"lightb" "lightblue" "shield" or "#000099"}}
 
{{color|#ffbf00|"a" "amber" "reactor" or "#ffbf00"}}
 
{{color|#ffff00|"y" "yellow" or "#ffff00"}}
 
{{color|#800080|"p" "purple" or "#800080"}}
 
{{color|#ffffff|"w" "white" or "#ffffff"}}
 
{{color|#000000|"black" or "#000000"}}</noinclude>
 

Revision as of 09:36, 3 October 2011