Difference between revisions of "Template:N-color"

From Basin Wiki
Jump to navigation Jump to search
(Created page with '{{#switch: {{lc: {{{1}}} }} | background | light = <nowiki>#9Fc</nowiki> | border | dark = <nowiki>#0A5</nowiki> | #default = <nowiki>#9Fc</nowiki> }}<noinclude...')
 
Line 1: Line 1:
 
{{#switch: {{lc: {{{1}}} }}
 
{{#switch: {{lc: {{{1}}} }}
 +
| border
 +
| dark      = <nowiki>#00AA55</nowiki>
 +
| tint
 +
| lighter    = <nowiki>#CCFFEE</nowiki>
 
| background
 
| background
| light     = <nowiki>#9Fc</nowiki>
+
| light
| border
+
| #default  = <nowiki>#99FFCC</nowiki>
| dark      = <nowiki>#0A5</nowiki>
 
| #default  = <nowiki>#9Fc</nowiki>
 
 
}}<noinclude>
 
}}<noinclude>
==Usage==
 
<nowiki>{{N-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 01:21, 12 January 2012