Template:TableHeader/doc
Template page
More actions
Purpose
This helper emits a two-column-spanning heading row inside an existing wiki table. It is used by infoboxes and related table-building templates.
Usage
{{TableHeader|Value=Section heading}}
Parameters
| Parameter | Required | Explanation |
|---|---|---|
Value
|
No | Heading text. The parameter name is case-sensitive. An omitted value displays undefined.
|
Use inside tables
This template emits |- and a header cell with colspan="2". It must be used inside a compatible table; use Template:TableHeaderOptional when the row should disappear for an empty value.
{{Tabletop|Example}}
{{TableHeader|Value=Details}}
{{Tablebottom}}
The table-helper example remains literal to avoid malformed surrounding table markup on the documentation page.