Difference between revisions of "Template:Any-color"
From Starsonata Wiki
m (1 revision) |
|||
Line 1: | Line 1: | ||
{{#switch: {{lc: {{{1}}} }} | {{#switch: {{lc: {{{1}}} }} | ||
| border | | border | ||
− | | dark = nowiki#666666/nowiki | + | | dark = <nowiki>#666666</nowiki> |
| tint | | tint | ||
− | | lighter = nowiki#EEEEEE/nowiki | + | | lighter = <nowiki>#EEEEEE</nowiki> |
| background | | background | ||
| light | | light | ||
− | | #default = nowiki#DDDDDD/nowiki | + | | #default = <nowiki>#DDDDDD</nowiki> |
− | }}noinclude | + | }}<noinclude> |
{{X-color/manual}} | {{X-color/manual}} | ||
− | [[Category:Style templates|Color X]]/noinclude | + | [[Category:Style templates|Color X]]</noinclude> |
Revision as of 15:46, 25 January 2009
#DDDDDD
Usage
{{Any-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.