Template:Diagonal split header

From PINE64
Revision as of 15:55, 28 April 2022 by CounterPillow (talk | contribs) (Created page with "<includeonly>style="background:{{{3|#EAECF0}}};background:linear-gradient(to top right,{{{3|#EAECF0}}} 49%,#AAA 49.5%,#AAA 50.5%,{{{4|{{{3|#EAECF0}}}}}} 51%);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> Allows you to do tables like this: {| class="wikitable plainrowheaders" border="1" ! scope="col" {{Template:Diagonal split...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Allows you to do tables like this:

To
From
A B C
1 X Y Z
2 U V W
3 R S T

With code like this:

{| class="wikitable plainrowheaders" border="1"
! scope="col" {{Template:Diagonal split header|From|To}}
! scope="col" |A !! B !! C
|-
! scope="row" |1
| X
| Y
| Z
|-
! scope="row" |2
| U
| V
| W
|-
! scope="row" |3
| R
| S
| T
|}