« Modèle:Ce-color » : différence entre les versions

De Wiki - La Calv
Aller à la navigation Aller à la recherche
(Page créée avec « <includeonly><nowiki>#3fd6e2</nowiki></includeonly><noinclude> {{ce-color}} Color Ce</noinclude> »)
 
Aucun résumé des modifications
 
Ligne 1 : Ligne 1 :
<includeonly><nowiki>#3fd6e2</nowiki></includeonly><noinclude>
{{#switch: {{lc: {{{1}}} }}
| border
| dark      = <nowiki>#0f5e64</nowiki>
| tint
| lighter    = <nowiki>#b2eff3</nowiki>
| background
| light
| #default  = <nowiki>#3fd6e2</nowiki>
}}<noinclude>


{{ce-color}}
{{x-color/manual}}


[[Category:Style templates|Color Ce]]</noinclude>
[[Category:Style templates|Color Ce]]</noinclude>

Dernière version du 17 novembre 2023 à 23:13

#3fd6e2

Usage

{{Ce-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.