Difference between revisions of "Template:R-color"

From Basin Wiki
Jump to navigation Jump to search
(Created page with '{{#switch: {{lc: {{{1}}} }} | background | light = <nowiki>#CF9</nowiki> | border | dark = <nowiki>#5A0</nowiki> | #default = <nowiki>#CF9</nowiki> }}<noinclude...')
 
Line 1: Line 1:
 
{{#switch: {{lc: {{{1}}} }}
 
{{#switch: {{lc: {{{1}}} }}
 +
| border
 +
| dark      = <nowiki>#55AA00</nowiki>
 +
| tint
 +
| lighter    = <nowiki>#EEFFCC</nowiki>
 
| background
 
| background
| light     = <nowiki>#CF9</nowiki>
+
| light
| border
+
| #default  = <nowiki>#CCFF99</nowiki>
| dark      = <nowiki>#5A0</nowiki>
 
| #default  = <nowiki>#CF9</nowiki>
 
 
}}<noinclude>
 
}}<noinclude>
==Usage==
 
<nowiki>{{R-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>
+
{{X-color/manual}}
 +
 
 +
 
 +
 
 +
[[Category:Templates/Formatting]]</noinclude>

Revision as of 01:22, 12 January 2012