Template:Table/doc: Difference between revisions
Jump to navigation
Jump to search
tr
tr
tr
tr
mNo edit summary |
m (→Parameters: {{{sticky}}}) |
||
Line 7: | Line 7: | ||
== Parameters == | == Parameters == | ||
* {{Param|id}} - Element ID for links. | * {{Param|id}} - Element ID for links. | ||
* {{Param|class}} - Custom HTML class. | |||
* {{Param|style}} - Custom CSS (prepared styles are also planned). | |||
* {{Param|width}} - Element width. | * {{Param|width}} - Element width. | ||
* {{Param|caption}} - Table caption (Not available for {{Code|<nowiki>{{Table|tr}}</nowiki>}}, {{Code|<nowiki>{{Table|th}}</nowiki>}} and {{Code|<nowiki>{{Table|td}}</nowiki>}}.). | * {{Param|caption}} - Table caption (Not available for {{Code|<nowiki>{{Table|tr}}</nowiki>}}, {{Code|<nowiki>{{Table|th}}</nowiki>}} and {{Code|<nowiki>{{Table|td}}</nowiki>}}.). | ||
* {{Param|caption indent}} - {{Todo}} | |||
* {{Param|caption indent:top}} - {{Todo}} | |||
* {{Param|caption indent:right}} - {{Todo}} | |||
* {{Param|caption indent:bottom}} - {{Todo}} | |||
* {{Param|caption indent:left}} - {{Todo}} | |||
* {{Param|tr}} - {{Code|<tr></tr>}} | * {{Param|tr}} - {{Code|<tr></tr>}} | ||
* {{Param|th}} - {{Code|<th></th>}} | * {{Param|th}} - {{Code|<th></th>}} | ||
Line 19: | Line 27: | ||
* {{Param|radius}} - The radius of the cell border. | * {{Param|radius}} - The radius of the cell border. | ||
* {{Param|font-size}} - Font size. | * {{Param|font-size}} - Font size. | ||
* {{Param|color}} - Color of the text. | |||
* {{Param|align}} - Alignment of a table or text. | * {{Param|align}} - Alignment of a table or text. | ||
* {{Param| | * {{Param|sticky}} - Makes {{Code|<nowiki>{{Table|tr}}</nowiki>}} stick to the top of the screen. | ||
== Example == | == Example == |
Revision as of 23:39, 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.
- {{{class}}} - Custom HTML class.
- {{{style}}} - Custom CSS (prepared styles are also planned).
- {{{width}}} - Element width.
- {{{caption}}} - Table caption (Not available for {{Table|tr}}, {{Table|th}} and {{Table|td}}.).
- {{{caption indent}}} - [Todo]
- {{{caption indent:top}}} - [Todo]
- {{{caption indent:right}}} - [Todo]
- {{{caption indent:bottom}}} - [Todo]
- {{{caption indent:left}}} - [Todo]
- {{{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.
- {{{color}}} - Color of the text.
- {{{align}}} - Alignment of a table or text.
- {{{sticky}}} - Makes {{Table|tr}} stick to the top of the screen.
Example