📖 This is a live mirror of the <a href="https://www.theamazonbasin.com/wiki/">Basin Wiki</a> (theamazonbasin.com), hosted to keep the content available if the original ever goes offline. All content belongs to the original Basin Wiki authors — please visit and support the <a href="https://www.theamazonbasin.com/">original site</a>.
Template:Color
Jump to navigation
Jump to search
{{#switch: {{{1}}}
|w = {{#switch: {{{2}}}
|dark=#EA3
|light=#FF8}}
|r = {{#switch: {{{2}}}
|dark=#5A0
|light=#CF9}}
|mo = {{#switch: {{{2}}}
|dark=#44B
|light=#ACF}}
|n = {{#switch: {{{2}}}
|dark=#0A5
|light=#9FC}}
|me= {{#switch: {{{2}}}
|dark=#80A
|light=#DAF}}
|e = {{#switch: {{{2}}}
|dark=#B33
|light=#FBB}}
|a = {{#switch: {{{2}}}
|dark=#A08
|light=#FCE}}
|rt= {{#switch: {{{2}}}
|dark=#0AA
|light=#BFF}}
|p = {{#switch: {{{2}}}
|dark=#960
|light=#FC9}}
|d = {{#switch: {{{2}}}
|dark=#77C
|light=#DDF}}
|x = {{#switch: {{{2}}}
|dark=#666
|light=#DDD}}
|#default=#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