Difference between revisions of "Template:D-color"

From Basin Wiki
Jump to navigation Jump to search
(Created page with '{{#switch: {{lc: {{{1}}} }} | background | light = <nowiki>#DDF</nowiki> | border | dark = <nowiki>#77C</nowiki> | #default = <nowiki>#DDF</nowiki> }}<noinclude...')
 
Line 1: Line 1:
 
{{#switch: {{lc: {{{1}}} }}
 
{{#switch: {{lc: {{{1}}} }}
 +
| border
 +
| dark      = <nowiki>#7777CC</nowiki>
 +
| tint
 +
| lighter    = <nowiki>#EEEEFF</nowiki>
 
| background
 
| background
−
| light     = <nowiki>#DDF</nowiki>
+
| light
−
| border
+
| #default  = <nowiki>#DDDDFF</nowiki>
−
| dark      = <nowiki>#77C</nowiki>
 
−
| #default  = <nowiki>#DDF</nowiki>
 
 
}}<noinclude>
 
}}<noinclude>
−
==Usage==
 
−
<nowiki>{{D-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}}
 +
 
 +
</noinclude>

Revision as of 04:41, 12 January 2012