Difference between revisions of "Template:Color"
Jump to navigation
Jump to search
(Created page with '{{#switch: {{lc:{{{1}}} }} |w = {{#switch: {{lc:{{{2}}} }} |dark=<nowiki>#</nowiki>EA3 |light=<nowiki>#</nowiki>FF8}} |r = {{#switch: {{lc:{{{2}}} }} ...') |
(No difference)
|
Latest revision as of 03:32, 30 April 2009
#FFF
Documentation
Inserts the 3-digit hex number for the profession colors preceded by a "#" symbol.
Input
- parameter 1 = profession abbreviation (w, r, mo, n, me, e, a, rt, p or d)
- parameter 2 = light or dark
Usage
- For the Warrior light color, needed as a background color:
{{color|w|light}}
- For the Monk dark color, needed as a border color:
{{color|mo|dark}}
- For usage in a table (to avoid problems with IE and 3-digit color codes):
style="background: {{color|e|light}}"
style="border: {{color|e|dark}}"
Output
default is: #FFF