Template:Color/doc

Revision as of 22:00, 18 February 2024 by Minecraft>Delvin4519 (interwiki ES, IT, KO, LZH, PT, TH, ZH)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page. It should be transcluded into Template:Color. See Template:Documentation for more information.

Used to display colors. Can be in any format supported by CSS (hexadecimal, rgb(a), hsl(a), keyword).

Examples

{{color|#123456}}:
 #123456

{{color|rgb(241, 042, 176)}}:
 rgb(241, 042, 176)

{{color|hsl(45, 100%, 50%)}}:
 hsl(45, 100%, 50%)

{{color|peachpuff}}:
 peachpuff

{{color|cyan|custom text}}:
 custom text

TemplateData

Used to display colors.

Template parameters

ParameterDescriptionTypeStatus
Color value1

Technical information describing the color.

Suggested values
rgb(255, 0, 0) #ff0000 #f00 rgba(255, 0, 0, 255) red hsl(0, 100%, 50%)
Unknownrequired
Text2

Custom text to show instead of the color value.

Example
Fire Engine Red
Contentoptional


de:Vorlage:Farben/Dokumentation es:Plantilla:Color/doc fr:Modèle:Affichage couleur/doc it:Template:Colore/doc ja:テンプレート:Color/doc ko:틀:Color/doc lzh:模板:Color/doc pt:Predefinição:Cor/doc ru:Шаблон:Отображение цвета/док th:แม่แบบ:Color/doc uk:Шаблон:Колір/док zh:Template:Color/doc