Difference between revisions of "Template:Colort/doc"
Jump to navigation
Jump to search
imported>Crissov (→Parameters: added) |
imported>Crissov |
||
| Line 6: | Line 6: | ||
=== Parameters === | === Parameters === | ||
| + | ; {{para|narrow|true}}: switches a narrow variant that is not sortable and has two rows per color | ||
; {{para|caption|<var>markup text</var>}}: An alternative table caption, replaces the default | ; {{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|class|<var>HTML class</var>}}: More classes to be applied to the table | ||
Revision as of 09:02, 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
|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, ...