This is a documentation subpage for Template:Colort. It may contain usage information, categories and other content that is not part of the original template page. |
Color table header, for use with {{Colort/Color}}, which generates the rows.
Usage
edit{{Colort|optional parameters}}
See {{Colort/Color}} for usage.
Parameters
edit|narrow=true
- switches a narrow variant that is not sortable and has two rows per color
|caption=markup text
- An alternative table caption, replaces the default
|class=HTML class
- More classes to be applied to the table
|style=CSS code
- More styles to be applied to the table
|html_name=true
- If set an additional column header is added at the end with a default text: “Alias”
|alias=markup text
- If present an additional column header is added at the end with the text provided
|alias title=plain text
- The hover information to be displayed for the header cell of the optional column, default is “CSS, SVG, HTML”
Blank template for copy-pasting
edit{{Colort | narrow = | caption = | class = | style = | html_name = | alias = | alias title = }}
Examples
editName | Hex (RGB) |
Red (RGB) |
Green (RGB) |
Blue (RGB) |
Hue (HSL/HSV) |
Satur. (HSL) |
Light (HSL) |
Satur. (HSV) |
Value (HSV) |
---|
Name(s) | RGB | HSL / HSV | |||||
---|---|---|---|---|---|---|---|
Hex | Red | Green | Blue | Hue | Satur. | Light / Value |
See X11 color names, Web colors, List of colors, ...
Template data
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Colort in articles based on its TemplateData.
TemplateData for Colort
Extended content
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No description.
|
- See a monthly parameter usage report for Template:Colort in articles.
- See a monthly parameter usage report for Template:Colort/Color in articles.