Template:Left header/doc
![]() | This is a documentation subpage for Template:Left header. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template provides the table cell definitions for a left justified table row header cell.
There is a single optional parameter |style=
whose value is appended to the header cell's style definition.
For example: <syntaxhighlight lang="wikitext">
Title | Column 2 | Column 3 | ||||
---|---|---|---|---|---|---|
1920 | ||||||
[row header] | [normal cell] | [normal cell] | ||||
[row header] | [normal cell] | [normal cell] | ||||
1921 | ||||||
[row header] | [normal cell] | [normal cell] | ||||
[row header] | [normal cell] | [normal cell] |
</syntaxhighlight> produces:
Title | Column 2 | Column 3 | ||||
---|---|---|---|---|---|---|
1920 | ||||||
[row header] | [normal cell] | [normal cell] | ||||
[row header] | [normal cell] | [normal cell] | ||||
1921 | ||||||
[row header] | [normal cell] | [normal cell] | ||||
[row header] | [normal cell] | [normal cell] |
Any extra attributes such as data-sort-value
(see WP:SORT) for the row header cell follow {{left header}}
directly, for example:
<syntaxhighlight lang="wikitext">
Title | Column 2 | Column 3 |
---|---|---|
The First Title | [normal cell S] | [normal cell Q] |
Second Title | [normal cell P] | [normal cell R] |
</syntaxhighlight> produces:
Title | Column 2 | Column 3 |
---|---|---|
The First Title | [normal cell S] | [normal cell Q] |
Second Title | [normal cell P] | [normal cell R] |
See also
{{Year header}}
provides the table cell definitions for a table row header cell spanning up to seven columns.