Difference between revisions of "Template:Colort/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>DePiep (use {{When on basepage}}) |
||
| Line 18: | Line 18: | ||
See [[X11 color names]], [[Web colors]], [[List of colors]], ... | See [[X11 color names]], [[Web colors]], [[List of colors]], ... | ||
| − | <includeonly>{{ | + | <includeonly>{{When on basepage|| |
[[Category:Color conversion templates]] | [[Category:Color conversion templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 20:08, 24 April 2020
| This is a documentation subpage for Template:Colort. It contains 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
{{Colort|optional parameters}}
See {{Colort/Color}} for usage.
Parameters
|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”
Examples
See X11 color names, Web colors, List of colors, ...