Difference between revisions of "Template:N-color"
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...') |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{lc: {{{1}}} }} | {{#switch: {{lc: {{{1}}} }} | ||
+ | | border | ||
+ | | dark = <nowiki>#00AA55</nowiki> | ||
+ | | tint | ||
+ | | lighter = <nowiki>#CCFFEE</nowiki> | ||
| background | | background | ||
− | | light | + | | light |
− | + | | #default = <nowiki>#99FFCC</nowiki> | |
− | |||
− | | #default = <nowiki># | ||
}}<noinclude> | }}<noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{X-color/Manual}} | |
+ | |||
+ | </noinclude> |
Latest revision as of 00:21, 12 January 2012
#99FFCC
Usage
{{N-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.