Difference between revisions of "Template:Class-color"

From Starsonata Wiki
Jump to: navigation, search
m
m
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
  {{</nowiki>{{BASEPAGENAME}}|'''<code>class</code>'''|'''<code>xxx</code>'''<nowiki>}}
+
  {{{{BASEPAGENAME}}|'''<code>class</code>'''|'''<code>xxx</code>'''}}
  
 
Where <code>class</code> is one of the following values:
 
Where <code>class</code> is one of the following values:

Revision as of 15:38, 25 January 2009

#DDDDDD


Usage

#DDDDDD


Where class is one of the following values:

  • W R Mo E Me N A Rt D P Any

And 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 either class and/or xxx are not specified, the default values are Any and/or light, although leaving them as the default is discouraged.

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


part of this article was copied from [1]