Difference between revisions of "Template:A-color"

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

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