Template:Color

From Basin Wiki
Revision as of 02:32, 30 April 2009 by Skie (talk | contribs) (Created page with '{{#switch: {{lc:{{{1}}} }} |w = {{#switch: {{lc:{{{2}}} }} |dark=<nowiki>#</nowiki>EA3 |light=<nowiki>#</nowiki>FF8}} |r = {{#switch: {{lc:{{{2}}} }} ...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

#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