More actions
m Comment out category as per policy for user space. |
Tag: Undo |
||
| Line 36: | Line 36: | ||
|} | |} | ||
<includeonly> | <includeonly>[[Category:Template]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Latest revision as of 09:06, 12 September 2022
- Description
- This template is used to split a table header cell diagonally.
- Syntax
- Create a header cell containing: {{diagonal split header|<row_label>|<column_label>}}
- Parameters
-
- row_label
- A word or phrase to be used as a row label.
- column_label
- A word or phrase to be used as a column label.
- Sample
{| class="wikitable"
! {{diagonal split header|foo|bar}}
! a !! b !! c
|-
! x
| 1 || 2 || 3
|-
! y
| 4 || 5 || 6
|}
- gives...
bar foo
|
a | b | c |
|---|---|---|---|
| x | 1 | 2 | 3 |
| y | 4 | 5 | 6 |