« Modèle:Ch-color » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Page créée avec « <includeonly><nowiki>#d8a7ff</nowiki></includeonly><noinclude> {{ch-color}} Color Ch</noinclude> ») |
Aucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
< | {{#switch: {{lc: {{{1}}} }} | ||
| border | |||
| dark = <nowiki>#5e00a9</nowiki> | |||
| tint | |||
| lighter = <nowiki>#efdcff</nowiki> | |||
| background | |||
| light | |||
| #default = <nowiki>#d8a7ff</nowiki> | |||
}}<noinclude> | |||
{{ | {{x-color/manual}} | ||
[[Category:Style templates|Color Ch]]</noinclude> | [[Category:Style templates|Color Ch]]</noinclude> |
Dernière version du 17 novembre 2023 à 23:09
#d8a7ff
Usage
{{Ch-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.