Template:Table/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 33: | Line 33: | ||
|- | |- | ||
| style="text-align:center" | {{Code|preset=1| {{param|style}} }} | | style="text-align:center" | {{Code|preset=1| {{param|style}} }} | ||
| Custom CSS | | Custom CSS. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Table|style = background-image:linear-gradient(0deg, white, black)}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Table|style = background-image:linear-gradient(0deg, white, black)}}</nowiki>}} | ||
|- | |- | ||
| colspan="3" style="background-color:#858585; text-align:center" | | | colspan="3" style="background-color:#858585; text-align:center" | | ||
==== <span style="color:#000"> Style </span> ==== | ==== <span style="color:#000"> Style </span> ==== | ||
|- | |- |
Revision as of 03:53, 16 July 2025

This is a documentation subpage for Template:Table.
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.
Adds a table, but actually adds a table.
Parameters and Examples
Parameter | Description | Example |
---|---|---|
{{{1}}} or {{{text}}} | Yout 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}}} | [Todo] | |
{{{caption indent:top}}} | [Todo] | |
{{{caption indent:right}}} | [Todo] | |
{{{caption indent:bottom}}} | [Todo] | |
{{{caption indent:left}}} | [Todo] | |
{{{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 |