GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
mNo edit summary
m (improved documentation)
Line 35: Line 35:
 
|#default=<nowiki>#</nowiki>FFF
 
|#default=<nowiki>#</nowiki>FFF
 
}}<noinclude>
 
}}<noinclude>
  +
==Documentation==
  +
Inserts the 3-digit hex number for the profession colors preceded by a "#" symbol.
   
  +
===Input===
usage:
 
 
*'''parameter 1''' = profession abbreviation (w, r, mo, n, me, e, a, rt, p or d)
  +
*'''parameter 2''' = light or dark
   
  +
===Usage===
parameter 1 is the profession abbreviation, w, r, me, and so on.
 
  +
*For the Warrior light color, needed as a background color:
  +
<pre><nowiki>{{color|w|light}}</nowiki></pre>
   
  +
*For the Monk dark color, needed as a border color:
parameter 2 is the style, currently "light" or "dark" [[Category:Templates/Formatting]]</noinclude>
 
  +
<pre><nowiki>{{color|mo|dark}}</nowiki></pre>
  +
  +
*For usage in a table (to avoid problems with IE and 3-digit color codes):
  +
<pre><nowiki>style="background: {{color|e|light}}"</nowiki></pre>
  +
<pre><nowiki>style="border: {{color|e|dark}}"</nowiki></pre>
  +
  +
===Output===
  +
default is: #FFF
  +
 
[[Category:Templates/Formatting]]</noinclude>

Revision as of 22:58, 31 January 2007

#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