Template:Color/doc

From TibiaCraft
Revision as of 22:18, 4 October 2025 by Root (talk | contribs) (Created page with "{{documentation header}} <!-- Documentation here --> Used to display colors. Can be in any format supported by CSS (hexadecimal, rgb(a), hsl(a), keyword). == Examples == {{t|color|#123456}}: {{color|#123456}} {{t|color|rgb(241, 042, 176)}}: {{color|rgb(241, 042, 176)}} {{t|color|hsl(45, 100%, 50%)}}: {{color|hsl(45, 100%, 50%)}} {{t|color|peachpuff}}: {{color|peachpuff}} {{t|color|cyan|custom text}}: {{color|cyan|custom text}} == TemplateData == <templatedata> {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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