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
(Created page with "<noinclude>Category:Templates<!--</noinclude>{{color/1}}{{#switch: {{{1|white}}} | r | red = #FF0000 | classified | lred | lightred = #990000 | g | green = #00FF00 | hull | l...")
 
Line 25: Line 25:
 
| white = #FFFFFF
 
| white = #FFFFFF
 
| black = #000000
 
| black = #000000
| #default = {{{1|#FFFFFF}}}
+
| #default = {{{1|white}}}}} {{#if: | {{{2}}} | {{{2}}} {{/color}}}}
}}
 
 
<noinclude>-->[[wikipedia:HTML colors|HTML colors]]<br>
 
<noinclude>-->[[wikipedia:HTML colors|HTML colors]]<br>
<pre>{{color|<color>}}
+
<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> 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}}
+
{{color|#ff0000|"r" "red" or "#ff0000"}}
{{color|#990000}}"lightr" "lightred" "classified" or "#990000"{{/color}}
+
{{color|#990000|"lightr" "lightred" "classified" or "#990000"}}
{{color|#00ff00}}"g" "green" or "#00ff00"{{/color}}
+
{{color|#00ff00|"g" "green" or "#00ff00"}}
{{color|#009900}}"lightg" "lightgreen" "hull" or "#009900"{{/color}}
+
{{color|#009900|"lightg" "lightgreen" "hull" or "#009900"}}
{{color|#0000ff}}"b" "blue" or "#0000ff"{{/color}}
+
{{color|#0000ff|"b" "blue" or "#0000ff"}}
{{color|#000099}}"lightb" "lightblue" "shield" or "#000099"{{/color}}
+
{{color|#000099|"lightb" "lightblue" "shield" or "#000099"}}
{{color|#ffbf00}}"a" "amber" "reactor" or "#ffbf00"{{/color}}
+
{{color|#ffbf00|"a" "amber" "reactor" or "#ffbf00"}}
{{color|#ffff00}}"y" "yellow" or "#ffff00"{{/color}}
+
{{color|#ffff00|"y" "yellow" or "#ffff00"}}
{{color|#800080}}"p" "purple" or "#800080"{{/color}}
+
{{color|#800080|"p" "purple" or "#800080"}}
{{color|#ffffff}}"w" "white" or "#ffffff"{{/color}}
+
{{color|#ffffff|"w" "white" or "#ffffff"}}
{{color|#000000}}"black" or "#000000"{{/color}}</noinclude>
+
{{color|#000000|"black" or "#000000"}}</noinclude>

Revision as of 23:45, 11 September 2011

HTML colors

{{color|<color>|text}}
<color> can be any HTML color, as well as amber (reactor color), lightgreen (hull color), lightred (CLASSIFIED color), lightblue (shield color)

Template:Color/1

  1. ff0000 "r" "red" or "#ff0000" Template:Color/color

Template:Color/1

  1. 990000 "lightr" "lightred" "classified" or "#990000" Template:Color/color

Template:Color/1

  1. 00ff00 "g" "green" or "#00ff00" Template:Color/color

Template:Color/1

  1. 009900 "lightg" "lightgreen" "hull" or "#009900" Template:Color/color

Template:Color/1

  1. 0000ff "b" "blue" or "#0000ff" Template:Color/color

Template:Color/1

  1. 000099 "lightb" "lightblue" "shield" or "#000099" Template:Color/color

Template:Color/1

  1. ffbf00 "a" "amber" "reactor" or "#ffbf00" Template:Color/color

Template:Color/1

  1. ffff00 "y" "yellow" or "#ffff00" Template:Color/color

Template:Color/1

  1. 800080 "p" "purple" or "#800080" Template:Color/color

Template:Color/1

  1. ffffff "w" "white" or "#ffffff" Template:Color/color

Template:Color/1

  1. 000000 "black" or "#000000" Template:Color/color