Template:TableHeader
From Dragon Mania Legends (DML) Wiki
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Example(s)
The following:
{{tableHeader|Dragon !Type|mw-collapsible}} |Fire Dragon |Epic |}
Gives:
Dragon | Type |
---|---|
Fire Dragon | Epic |
The following:
{{tableHeader|Dragon !Type|mw-collapsible mw-collapsed}} |Fire Dragon |Epic |}
Gives:
Dragon | Type |
---|---|
Fire Dragon | Epic |
The following:
{{tableHeader|Dragon !Type|mw-collapsible mw-collapsed|caption=my caption}} |Fire Dragon |Epic |}
Gives:
Dragon | Type |
---|---|
Fire Dragon | Epic |
See Also
{{tableFooter}}
, the template that is used with this one to generate the table end.- Help:Tables, the MediaWiki documentation on table use.
A shortcut to wikitable syntax to create ONLY a table's header (to be used with the {{TableFooter}} template). May be helpful for users unfamiliar or uncomfortable with wikitable syntax (please refer to the "See Also" section of the template's documentation page for links to learn wikitable syntax).
Parameter | Description | Type | Status | |
---|---|---|---|---|
(header) 1 | 1 header | Used to specify each header. Already begins with one ! symbol, subsequent headers must include the ! symbol and each be specified on a new line.
| String | required |
(Optional, CSS) class | 2 class | no description
| String | optional |
(Optional, CSS) style | 3 style | no description | String | optional |
(Optional) caption | caption | If specified, also specify for the second parameter: mw-collapsible mw-collapsed | String | optional |