Difference between revisions of "Template:A-color"

From GuildWiki
Jump to: navigation, search
(Profession colour box)
 
m (hex triplet colors don't work for everything)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#switch: {{lc: {{{1}}} }}
 
{{#switch: {{lc: {{{1}}} }}
  +
| background
| light = <nowiki>#FCE</nowiki>
 
| dark = <nowiki>#A08</nowiki>
+
| light = <nowiki>#FFCCEE</nowiki>
| border = {{A-color|dark}}
+
| border
 
| dark = <nowiki>#AA0088</nowiki>
| background = {{A-color|light}}
 
| #default = {{A-color|dark}}
+
| #default = <nowiki>#FFCCEE</nowiki>
  +
}}<noinclude>
}}
 
  +
==Usage==
  +
<nowiki>{{A-color|xxx}}</nowiki>
  +
Where xxx is one of the following values:
  +
* light
  +
* dark
  +
* border (same as dark)
 
* background (same as light)
  +
  +
Note: if left off, the default value is ''light''[[Category:Templates/Formatting]]</noinclude>

Latest revision as of 07:24, 10 July 2007

#FFCCEE

Usage

{{A-color|xxx}}

Where xxx is one of the following values:

  • light
  • dark
  • border (same as dark)
  • background (same as light)

Note: if left off, the default value is light