Template:Td/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Td.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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