Template:Td
A data cell of an HTML table with a 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. | |
{{{dark}}}
|
Dark version of the background color.
Warning:Overwrites
{{{bgcolor}}} and does not allow you to specify a custom 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:Td/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.