Difference between revisions of "Template:E-color"

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

Latest revision as of 16:16, 25 January 2009

#FFBBBB

Usage

{{E-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:E-color