Template:Diagonal Split Header

Revision as of 02:34, 31 August 2025 by Mattk4355 (talk | contribs) (Created page with "<includeonly>class="split-header" style="{{{style|}}}"|<div style="margin-left:2em;text-align:right;">{{{2|}}}</div><div style="margin-right:2em;text-align:left;">{{{1|}}}</div></includeonly><!-- --><noinclude>{{Documentation|type=Design}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Example 1

{| class="wikitable" style="text-align:center"
|-
! {{Diagonal Split Header|<small>bottom<br />left text</small>|<small>top-right<br />text</small>}}
! A || B || C || D
|-
! 1 
| A1 || B1 || C1 || D1
|-
! 2
| A2 || B2 || C2 || D2
|}
top-right
text
bottom
left text
A B C D
1 A1 B1 C1 D1
2 A2 B2 C2 D2

Example 2

{| class="wikitable" style="text-align:center"
|-
! colspan="2" rowspan="2" {{Diagonal Split Header|<small>bottom<br />left text</small>|<small>top right<br />text</small>}}
! 1 || 2 || 3 || 4
|-
! A || B || C || D
|-
! X || Y 
| a || b || c || d
|-
! X || Y 
| a || b || c || d
|}
top right
text
bottom
left text
1 2 3 4
A B C D
X Y a b c d
X Y a b c d

Example 3

{| class="wikitable" style="text-align:center"
|-
! rowspan="2" colspan="2" {{Diagonal Split Header|<small>bottom<br />left text</small>|<small>top right<br />text</small>}}
! colspan="4" | Header
|-
! A || B || C || D
|-
! X || Y 
| a || b || c || d
|-
! X || Y 
| a || b || c || d
|}
top right
text
bottom
left text
Header
A B C D
X Y a b c d
X Y a b c d