Difference between revisions of "Template:W-color"

From Basin Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
}}<noinclude>
 
}}<noinclude>
  
Where <code>xxx</code> is one of the following values:
+
{{X-color/Manual}}
* lighter
+
</noinclude>
* 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.
 

Latest revision as of 13:00, 11 January 2012

#FFFF88

Usage

{{W-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.