Difference between revisions of "Template:Diagonal split header/doc"

From EVE University Wiki
Jump to: navigation, search
m (Some formatting.)
m (Comment out category as per policy for user space.)
Line 36: Line 36:
 
|}
 
|}
  
<includeonly>[[Category:Template]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly><!--[[Category:Template]]--><!-- Any categories for the template itself --></includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 09:04, 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