Jump to content

Template:Colort/doc

From Wikipedia, the free encyclopedia

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

[edit]

See X11 color names, Web colors, List of colors, ...

Template data

[edit]
This 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.

Template parameters

ParameterDescriptionTypeStatus
narrownarrow

no description

Unknownoptional
classclass

no description

Unknownoptional
stylestyle

no description

Unknownoptional
captioncaption

no description

Unknownoptional
widthwidth

no description

Unknownoptional
borderborder

no description

Unknownoptional
colwidthcolwidth

no description

Unknownoptional
html_namehtml_name

no description

Unknownoptional
aliasalias

no description

Unknownoptional
alias titlealias title

no description

Unknownoptional
sourcesource

no description

Unknownoptional
See a monthly parameter usage report for Template:Colort in articles.
See a monthly parameter usage report for Template:Colort/Color in articles.