Difference between revisions of "Template:Color"
From HomepointXI Wiki
Immortality (talk | contribs) |
Immortality (talk | contribs) m |
||
Line 1: | Line 1: | ||
<font color="{{#switch:{{lc:{{{1}}}}} | <font color="{{#switch:{{lc:{{{1}}}}} | ||
|beige = #cc9900 | |beige = #cc9900 | ||
− | |blue = #33ccff | + | |light blue = #33ccff |
− | | | + | |fire = red |
− | |earth | + | |earth = #cc9900 |
− | | | + | |water = blue |
− | | | + | |wind = green |
− | |ice | + | |ice = #33CCFF |
− | | | + | |lightning = purple |
− | | | + | |light = gray |
− | | | + | |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 20: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|]]}}). 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.