Template:Table/doc: Difference between revisions
Jump to navigation
Jump to search
tr
tr
tr
tr
mNo edit summary |
mNo edit summary |
||
Line 24: | Line 24: | ||
* {{Param|class}} - Custom HTML class. | * {{Param|class}} - Custom HTML class. | ||
* {{Param|style}} - Custom CSS (prepared styles are also planned). | * {{Param|style}} - Custom CSS (prepared styles are also planned). | ||
* caption indent - {{Todo}} | |||
* caption indent:top - {{Todo}} | |||
* caption indent:right - {{Todo}} | |||
* caption indent:bottom - {{Todo}} | |||
* caption indent:left - {{Todo}} | |||
== Example == | == Example == | ||
Line 29: | Line 35: | ||
| align = center | | align = center | ||
| caption = <span style="user-select:none"> [[File:ValveEmployee.png|link = Valve]] </span> | | caption = <span style="user-select:none"> [[File:ValveEmployee.png|link = Valve]] </span> | ||
| caption | | caption indent:bottom = 1em | ||
| {{Table|tr | | {{Table|tr | ||
| {{Table|th|radius=3px 0 0 0| Header 1 }} {{Table|th| Header 2 }} {{Table|th|radius=0 3px 0 0| Header 3 }} | | {{Table|th|radius=3px 0 0 0| Header 1 }} {{Table|th| Header 2 }} {{Table|th|radius=0 3px 0 0| Header 3 }} | ||
Line 47: | Line 53: | ||
| align = center | | align = center | ||
| caption = <span style="user-select:none"> [[File:ValveEmployee.png|link = Valve]] </span> | | caption = <span style="user-select:none"> [[File:ValveEmployee.png|link = Valve]] </span> | ||
| caption | | caption indent:bottom = 1em | ||
| {{Table|tr | | {{Table|tr | ||
| header = 1 | | header = 1 |
Revision as of 23:20, 11 June 2023

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.
Todo: Make the documentation better.
Parameters
- {{{id}}} - Element ID for links.
- {{{width}}} - Element width.
- {{{caption}}} - Table caption (Not available for {{Table|tr}}, {{Table|th}} and {{Table|td}}.).
- {{{tr}}} - <tr></tr>
- {{{th}}} - <th></th>
- {{{td}}} - <td></td>
- {{{colspan}}} - [Todo]
- {{{cellpadding}}} - [Todo]
- {{{bgcolor}}} - Background color.
- {{{radius}}} - The radius of the cell border.
- {{{font-size}}} - Font size.
- {{{align}}} - Alignment of a table or text.
- {{{color}}} - Color of the text.
- {{{class}}} - Custom HTML class.
- {{{style}}} - Custom CSS (prepared styles are also planned).
- caption indent - [Todo]
- caption indent:top - [Todo]
- caption indent:right - [Todo]
- caption indent:bottom - [Todo]
- caption indent:left - [Todo]
Example