Difference between revisions of "Template:Colort/doc"
Jump to navigation
Jump to search
imported>Crissov (←Created page with 'Color table header, for use with {{tl|Colort/Color}}, which generates the rows. === Usage === See Colort/Color for usage. === Example...') |
imported>Crissov (→Parameters: added) |
||
| Line 1: | Line 1: | ||
Color table header, for use with {{tl|Colort/Color}}, which generates the rows. | Color table header, for use with {{tl|Colort/Color}}, which generates the rows. | ||
| − | + | == Usage == | |
| − | + | ; <code>{{tlx|Colort|<var>optional parameters</var>}}</code> | |
| + | See {{tl|Colort/Color}} for usage. | ||
| − | === Examples | + | === Parameters === |
| + | ; {{para|caption|<var>markup text</var>}}: An alternative table caption, replaces the default | ||
| + | ; {{para|class|<var>HTML class</var>}}: More classes to be applied to the table | ||
| + | ; {{para|style|<var>CSS code</var>}}: More styles to be applied to the table | ||
| + | ; {{para|html_name|true}}: If set an additional column header is added at the end with a default text: “Alias” | ||
| + | ; {{para|alias|<var>markup text</var>}}: If present an additional column header is added at the end with the text provided | ||
| + | ; {{para|alias title|<var>plain text</var>}}: 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]], ... | See [[X11 color names]], [[Web colors]], [[List of colors]], ... | ||
Revision as of 07:29, 17 June 2013
Color table header, for use with {{Colort/Color}}, which generates the rows.
Usage
{{Colort|optional parameters}}
See {{Colort/Color}} for usage.
Parameters
|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, ...