Difference between revisions of "Template:A-color"

From Starsonata Wiki
Jump to: navigation, search
m (changed category)
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch: {{lc: {{{1}}} }}
 
{{#switch: {{lc: {{{1}}} }}
 
| border
 
| border
| dark      = nowiki#AA0088/nowiki
+
| dark      = <nowiki>#AA0088</nowiki>
 
| tint
 
| tint
| lighter    = nowiki#FFEEFF/nowiki
+
| lighter    = <nowiki>#FFEEFF</nowiki>
 
| background
 
| background
 
| light
 
| light
| #default  = nowiki#FFCCEE/nowiki
+
| #default  = <nowiki>#FFCCEE</nowiki>
}}noinclude
+
}}<noinclude>
  
 
{{X-color/manual}}
 
{{X-color/manual}}
 
+
{{GW}}
[[Category:Style templates|Color A]]/noinclude
+
[[Category:Style templates|Color A]]</noinclude>

Latest revision as of 16:14, 25 January 2009

#FFCCEE

Usage

{{A-color|xxx}}

Where xxx is one of the following values:

  • lighter
  • light
  • dark

An alternate set of values that could be used are:

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

If xxx is not specified, the default value is light, although leaving it as the default is discouraged.

Aside from special circumstances, always attempt to use the more appropriate set of color values - either lighter-light-dark or tint-background-border. Avoid mixing them up.


part of this article was copied from Template:A-color