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
|blue = #33ccff
+
|light blue = #33ccff
|red = red
+
|fire = red
|earth brown = #cc9900
+
|earth = #cc9900
|blue = blue
+
|water = blue
|green = green  
+
|wind = green  
|ice blue = #33CCFF
+
|ice = #33CCFF
|purple = purple
+
|lightning = purple
|gray = gray
+
|light = gray
|black = black
+
|dark = black
 
|nm = red
 
|nm = red
 
|positive = green
 
|positive = green
Line 48: Line 48:
 
| Neutral || {{Color|neutral|XXX}}
 
| Neutral || {{Color|neutral|XXX}}
 
|}
 
|}
 +
 +
In addition, all the elemental colors that are used for each crystal are in the template, (i.e. {{[[Template:Fire|{{Fire}}]]}}). However, this template is not actually to be used on any crystal or element references, but only for if you want to mimic the color in other places.
 +
==See Also==
 +
*[[Template:Colorlink]] - a template used to make colored links.
 +
</noinclude>

Revision as of 21:26, 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

In addition, all the elemental colors that are used for each crystal are in the template, (i.e. {{[[Template:Fire|Element: Fire]]}}). However, this template is not actually to be used on any crystal or element references, but only for if you want to mimic the color in other places.

See Also