Template:Th
Jump to navigation
Jump to search
HTML table header with prepared style.
Parameters and Examples
Parameter | Description | Example |
---|---|---|
{{{1}}} or {{{text}}} | Your text. | |
Attributes | ||
{{{id}}} | Element ID. Useful for linking to a specific part of the page. | |
{{{class}}} | Custom HTML class. | |
{{{colspan}}} | Specifies values for the HTML attribute colspan. | |
{{{rowspan}}} | Specifies values for the rowspan HTML attribute. | |
{{{style}}} | Custom CSS (prepared styles are also planned). | |
Style | ||
{{{width}}} | The width of the cell. | |
{{{bgcolor}}} | Background color. | |
{{{radius}}} | The radius of the cell border. | |
{{{select}}} | Specifies the value for the CSS property user-select. | |
{{{align}}} | Text alignment. | |
{{{font-size}}} | Font size. | |
{{{color}}} | Text color. |
See also
The above documentation is transcluded from Template:Th/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.