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