Difference between revisions of "Template:D-color"
From Starsonata Wiki
m (1 revision) |
|||
(2 intermediate revisions by the same user not shown) | |||
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}} | ||
− | + | {{GW}} | |
− | [[Category:Style templates|Color D]]/noinclude | + | [[Category:Style templates|Color D]]</noinclude> |
Latest revision as of 16:16, 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.
part of this article was copied from Template:D-color