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

De Wiki - La Calv
Aller à la navigation Aller à la recherche
(Page créée avec « <includeonly><nowiki>#81e55a</nowiki></includeonly><noinclude> {{t-color}} Color T</noinclude> »)
 
Aucun résumé des modifications
 
Ligne 1 : Ligne 1 :
<includeonly><nowiki>#81e55a</nowiki></includeonly><noinclude>
{{#switch: {{lc: {{{1}}} }}
| border
| dark      = <nowiki>#2b6e11</nowiki>
| tint
| lighter    = <nowiki>#cdf5bd</nowiki>
| background
| light
| #default  = <nowiki>#81e55a</nowiki>
}}<noinclude>


{{t-color}}
{{x-color/manual}}


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

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

#81e55a

Usage

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