Modèle:P-color

De Wiki - La Calv
Révision datée du 17 novembre 2023 à 23:11 par Sorrow (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

#ff5f58

Usage

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