Difference between revisions of "Template:A-color"

From GuildWiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
{{#switch: {{lc: {{{1}}} }}
 
{{#switch: {{lc: {{{1}}} }}
  +
| border
 
| light = <nowiki>#FCE</nowiki>
 
| light = <nowiki>#FCE</nowiki>
  +
| background
 
| dark = <nowiki>#A08</nowiki>
 
| dark = <nowiki>#A08</nowiki>
  +
| #default = <nowiki>#FCE</nowiki>
 
| border = {{Template:A-color|dark}}
 
| background = {{Template:A-color|light}}
 
 
| #default = {{Template:A-color|light}}
 
 
}}<noinclude>
 
}}<noinclude>
 
==Usage==
 
==Usage==

Revision as of 01:34, 30 January 2007

#FCE

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