Difference between revisions of "Template:A-color"

From GuildWiki
Jump to: navigation, search
m
m (hex triplet colors don't work for everything)
 
(2 intermediate revisions by 2 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
 
| border = {{Template:A-color|dark}}
+
| dark = <nowiki>#AA0088</nowiki>
 
| #default = <nowiki>#FFCCEE</nowiki>
| background = {{Template:A-color|light}}
 
 
| #default = {{Template:A-color|light}}
 
 
}}<noinclude>
 
}}<noinclude>
 
==Usage==
 
==Usage==

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