Template:Table/doc
Перейти к навигации
Перейти к поиску

Это подстраница документации для Template:Table.
Не забудьте очистить буфер основной страницы при создании или редактировании этой подстраницы.
Не забудьте очистить буфер основной страницы при создании или редактировании этой подстраницы.
Adds a table, but actually adds a table.
Parameters and Examples
Parameter | Description | Example |
---|---|---|
{{{1}}} or {{{text}}} | Your text. | |
Elements | ||
{{{caption}}} | Table caption. | |
Attributes | ||
{{{id}}} | Element ID. Useful for linking to a specific part of the page. | |
{{{class}}} | Custom HTML class. | |
{{{style}}} | Custom CSS. | |
Style | ||
{{{caption indent}}} | Indentation of the caption from all sides. | |
{{{caption indent:top}}} | Indentation of the caption at the top | |
{{{caption indent:right}}} | Indentation of the caption on the right. | |
{{{caption indent:bottom}}} | Indentation of the caption at the bottom. | |
{{{caption indent:left}}} | Indentation of the caption on the left. | |
{{{width}}} | The width of the cell. | |
{{{bgcolor}}} | Background color. | |
{{{radius}}} | The radius of the cell border. | |
{{{align}}} | Table alignment. Available values:
|
|
{{{font-size}}} | Font size. |
Ready-made table code
Header 1 | Header 2 | Header 3 |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | ||
Cell 6 | Cell 7 |