Difference between revisions of "Template:Color"
*>Karuberu m |
*>Karuberu m (link to new Colorlink template) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|beige = #cc9900 | |beige = #cc9900 | ||
|light blue = #33ccff | |light blue = #33ccff | ||
− | |||
− | |||
− | |||
− | |||
|fire = red | |fire = red | ||
|earth = #cc9900 | |earth = #cc9900 | ||
Line 14: | Line 10: | ||
|light = gray | |light = gray | ||
|dark = black | |dark = black | ||
− | |{{{1}}} | + | |nm = red |
+ | |positive = green | ||
+ | |negative = red | ||
+ | |neutral = #cc9900 | ||
+ | |#default = {{lc:{{{1}}}}} | ||
}}">{{#switch:{{lc:{{{style|}}}}} | }}">{{#switch:{{lc:{{{style|}}}}} | ||
|normal = {{{2}}} | |normal = {{{2}}} | ||
Line 20: | Line 20: | ||
|italic = ''{{{2}}}'' | |italic = ''{{{2}}}'' | ||
|bold-italic = '''''{{{2}}}''''' | |bold-italic = '''''{{{2}}}''''' | ||
− | | | + | |'''{{{2}}}''' |
}}</font><noinclude> | }}</font><noinclude> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
Line 47: | Line 47: | ||
|- | |- | ||
| 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> | </noinclude> |
Latest revision as of 15:40, 22 December 2008
{{{2}}}
Usage[edit]
{{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. {{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[edit]
- Template:Colorlink - a template used to make colored links.