Difference between revisions of "Template:Diagonal split header"
From EVE University Wiki
(Create a diagonal split header template for tables) |
|||
Line 1: | Line 1: | ||
− | <includeonly>style=" | + | <includeonly>style="line-height:1.2;padding:0.1em 0.4em;{{{style|}}}"|<div style="margin-left:2em;text-align:right">{{{2}}}</div><div style="margin-right:2em;text-align:left">{{{1}}}</div></includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 11:28, 26 July 2022
Template documentation (for the above template, sometimes hidden or invisible)
- 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 |
Visit Template:Diagonal split header/doc to edit this text! (How does this work?) (Refresh this text - why?)