Difference between revisions of "Template:Color"

From HomepointXI Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
<font color="{{#switch:{{lc:{{{1}}}}}
 
<font color="{{#switch:{{lc:{{{1}}}}}
 
|beige = #cc9900
 
|beige = #cc9900
|light blue = #33ccff
+
|blue = #33ccff
|fire red = red
+
|red = red
 
|earth brown = #cc9900
 
|earth brown = #cc9900
|water blue = blue
+
|blue = blue
|wind green = green  
+
|green = green  
 
|ice blue = #33CCFF
 
|ice blue = #33CCFF
|lightning purple = purple
+
|purple = purple
|light gray = gray
+
|gray = gray
|dark black = black
+
|black = black
 
|nm = red
 
|nm = red
 
|positive = green
 
|positive = green

Revision as of 20:17, 21 December 2016

{{{2}}}

Usage

{{Color|color|text}}

Style can be set to either normal, bold, italic, or bold-italic by declaring the style variable (the default is bold).

{{Color|style=normal|color|text}}

Any color may be used, but there are several predefined colors included for convenience:

Color Result
Beige XXX
Light Blue XXX
NM XXX
Positive XXX
Negative XXX
Neutral XXX