User:Jroberson108/MediaWiki:Gadget-StickyTableHeaders/testcases

Add to Special:MyPage/common.js:

importScript('MediaWiki:Gadget-StickyTableHeaders.js');
importStylesheet('User:Jroberson108/MediaWiki:Gadget-StickyTableHeaders.css');

Padding 1

edit

Padding for testing purposes.

Test wikitable (narrow)

edit
Caption
Header Header Header Header
top top top top
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
bottom bottom bottom bottom
Header Header Header Header

Test wikitable (wide)

edit
Caption
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header
top top top top top top top top top top top top top top top top top top top top
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header

Test wikitable sortable (narrow)

edit
Caption
Header Header Header Header
top top top top
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
bottom bottom bottom bottom
Header Header Header Header

Test wikitable sortable (wide)

edit
Caption
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header
top top top top top top top top top top top top top top top top top top top top
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header

Test wikitable (narrow, overflow)

edit
Caption
Header Header Header Header
top top top top
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
bottom bottom bottom bottom
Header Header Header Header

Test wikitable (wide, overflow)

edit
Caption
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header
top top top top top top top top top top top top top top top top top top top top
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header

Test wikitable sortable (narrow, overflow)

edit
Caption
Header Header Header Header
top top top top
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
bottom bottom bottom bottom
Header Header Header Header

Test wikitable sortable (wide, overflow)

edit
Caption
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header
top top top top top top top top top top top top top top top top top top top top
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
data data data data data data data data data data data data data data data data data data data data
bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom bottom
Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header Header

Test z-index

edit

Copied and simplified from Corruption Perceptions Index#2020–2023.

# Nation or Territory 2023 2022 2021 2020
Score  Δ[i] Score  Δ[i] Score  Δ[i] Score  Δ[i]
1   Denmark
90
 
90
 
88
 
88
 
2   Finland
87
 
87
  1
88
  2
85
 
3   New Zealand
85
  1
87
  1
88
 
88
 
4   Norway
84
 
84
 
85
  3
84
 
5   Singapore
83
 
83
  1
85
  1
85
  1
6   Sweden
82
  1
83
  1
85
  1
85
  1
6    Switzerland
82
  1
82
 
84
  4
85
  1
8   Netherlands
79
 
80
 
82
 
82
 
9   Germany
78
 
79
  1
80
  1
80
 
10   Luxembourg
78
  1
77
  1
81
 
80
 

mw-datatable:

Caption
Header Header Header Header
top top top top
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
bottom bottom bottom bottom
Header Header Header Header

hover-highlight:

Caption
Header Header Header Header
top top top top
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
data data data data
bottom bottom bottom bottom
Header Header Header Header

Copied and simplified from 2022–23 NCAA Division I women's basketball rankings#AP Poll.

Preseason
Oct 18
Week 2
Nov 14
Week 3
Nov 21
Week 4
Nov 28
Week 5
Dec 5
Week 6
Dec 12
Week 7
Dec 19
Week 8
Dec 26
Week 9
Jan 2
Week 10
Jan 9
Week 11
Jan 16
Week 12
Jan 23
Week 13
Jan 30
Week 14
Feb 6
Week 15
Feb 13
Week 16
Feb 20
Week 17
Feb 27
Week 18
Mar 6
Week 19
Mar 13
1.South Carolina (30)South Carolina (2–0) (30)South Carolina (4–0) (29)South Carolina (6–0) (29)South Carolina (8–0) (29)South Carolina (9–0) (28)South Carolina (11–0) (28)South Carolina (12–0) (28)South Carolina (13–0) (28)South Carolina (16–0) (28)South Carolina (18–0) (28)South Carolina (20–0) (28)South Carolina (21–0) (28)South Carolina (23–0) (28)South Carolina (25–0) (28)South Carolina (27–0) (27)South Carolina (29–0) (28)South Carolina (32–0) (28)South Carolina (32–0) (28)1.
2.StanfordStanford (4–0)Stanford (5–1)Stanford (8–1)Stanford (10–1)Stanford (10–1)Stanford (11–1)Stanford (13–1)Stanford (14–1)Stanford (16–1)Ohio State (18–0)Ohio State (19–0)Stanford (21–2)Indiana (22–1)Indiana (23–1)Indiana (26–1) (1)Indiana (26–2)Iowa (26–6)Indiana (27–3)2.
3.TexasTexas (1–0)UConn (3–0)UConn (5–0)Ohio State (8–0)Ohio State (10–0)Ohio State (11–0)Ohio State (13–0)Ohio State (15–0)Ohio State (17–0)LSU (18–0)Stanford (19–2)LSU (20–0)LSU (23–0)Stanford (24–3)Stanford (25–3)Utah (25–3)Indiana (27–3)Iowa (26–6)3.
4.IowaIowa (3–0)Ohio State (4–0)Ohio State (6–0)Indiana (9–0)Indiana (10–0)Indiana (11–0)Indiana (12–0)Notre Dame (12–1)UConn (13–2)Stanford (17–2)LSU (19–0)Indiana (20–1)UConn (21–3)Utah (22–2)UConn (24–4)LSU (27–1)Virginia Tech (27–4)Virginia Tech (27–4)4.
5.TennesseeUConn (1–0)Iowa State (4–0)Indiana (7–0)Notre Dame (7–1)Notre Dame (8–1)Notre Dame (9–1)Notre Dame (10–1)UConn (11–2)LSU (16–0)UConn (15–2)UConn (17–2)UConn (20–2)Iowa (19–4)LSU (23–1)LSU (25–1)Maryland (24–5)Stanford (28–5)Stanford (28–5)5.
6.UConnLouisville (3–0)Indiana (5–0)North Carolina (6–0)UConn (6–1)Virginia Tech (10–0)North Carolina (9–1)NC State (11–1)Indiana (13–1)Indiana (14–1)Indiana (16–1)Indiana (17–1)Iowa (17–4)Stanford (22–3)UConn (22–4)Iowa (22–5)Stanford (27–4)Maryland (25–6)UConn (29–5)6.
7.LouisvilleIowa State (2–0)Notre Dame (4–0)Notre Dame (6–0)Virginia Tech (8–0)North Carolina (8–1)NC State (11–1)Virginia Tech (11–1)LSU (14–0)Notre Dame (12–2)Notre Dame (14–2)Notre Dame (16–2)Utah (18–2)Utah (20–2)Iowa (20–5)Maryland (22–5)Iowa (23–6)UConn (28–5)Maryland (25–6)7.
8.Iowa StateOhio State (2–0)North Carolina (4–0)Iowa State (5–1)North Carolina (6–1) тNC State (9–1)Virginia Tech (10–1)UConn (9–2)Utah (14–0)UCLA (14–2)Utah (15–1)UCLA (17–3)Maryland (17–4)Maryland (19–5)Maryland (21–5)Utah (23–3)Virginia Tech (24–4)Utah (25–4)Utah (25–4)8.
9.Notre DameNotre Dame (2–0)Iowa (4–1)Virginia Tech (6–0)NC State (6–1) тUConn (7–2)UConn (8–2)LSU (12–0)Virginia Tech (12–2)Maryland (13–3)UCLA (15–3)Utah (16–2)Notre Dame (17–3)Duke (20–3)Duke (22–3)Virginia Tech (22–4)UConn (25–5)LSU (28–2)LSU (28–2)9.
10.NC StateNC State (3–0)Louisville (4–1)Iowa (5–2)Iowa State (6–1)UCLA (9–1)LSU (11–0)UCLA (12–1)NC State (12–2)Utah (14–1)Iowa (14–4)Iowa (15–4) тOhio State (19–3)Notre Dame (18–4)Notre Dame (20–4)Notre Dame (22–4)Notre Dame (24–4)Villanova (28–5)Villanova (28–6)10.
11.IndianaTennessee (1–1)Virginia Tech (3–0)LSU (7–0)LSU (9–0)LSU (9–0)UCLA (11–1)Utah (12–0)Iowa State (9–2)NC State (13–3)Maryland (14–4)Maryland (16–4) тNorth Carolina (16–5)Virginia Tech (18–4)Virginia Tech (20–4)Duke (23–4)Villanova (25–5)Notre Dame (25–5)Notre Dame (25–5)11.
12.North CarolinaIndiana (2–0)LSU (5–0)NC State (6–1)Arizona (7–0)Iowa (8–3)Utah (10–0)Iowa (10–3)UCLA (13–2)Iowa (12–4)Virginia Tech (14–3)Virginia Tech (16–3)Iowa State (15–4)Michigan (19–5)Michigan (20–5)Michigan (20–6)Texas (22–7)Ohio State (25–7)Ohio State (25–7)12.
13.Virginia TechNorth Carolina (2–0)NC State (4–1)Creighton (6–0)UCLA (8–1)Utah (8–0)Iowa (9–3)North Carolina (9–2)Maryland (11–3)Virginia Tech (13–3)Duke (16–1)Michigan (16–3)Virginia Tech (17–4)Ohio State (20–4)Ohio State (21–4)Oklahoma (22–4)Duke (24–5)Duke (25–6)Duke (25–6)13.
14.Ohio StateVirginia Tech (2–0)Maryland (4–1)Arizona (6–0)Michigan (9–0)Iowa State (7–2)Iowa State (8–2)Michigan (11–1)Michigan (12–2)Arizona (14–2)Michigan (15–3)Oklahoma (16–2)UCLA (17–5)North Carolina (17–6)Villanova (22–4)Arizona (21–6)Ohio State (23–6)Oklahoma (24–5)UCLA (25–9)14.
15.OklahomaLSU (3–0)Arizona (4–0)UCLA (7–0)Utah (7–0)Maryland (9–3)Maryland (9–3)Iowa State (8–2)Arizona (12–1)Iowa State (10–3)Oklahoma (14–2)North Carolina (14–5)NC State (16–5)Villanova (20–4)Oklahoma (20–4)Villanova (23–5)Gonzaga (27–3)Texas (23–8)Texas (25–9)15.
16.LSUOklahoma (2–0)Creighton (4–0)Utah (6–0)Iowa (6–3)Oregon (7–1)Oregon (9–1)Maryland (10–3)Iowa (11–4)Duke (14–1)Gonzaga (17–2)Duke (17–2)Duke (18–3)Oklahoma (18–4)UCLA (20–6)Ohio State (22–5)Oklahoma (22–5)Gonzaga (27–3)Oklahoma (25–6)16.
17.MarylandBaylor (2–0)Utah (4–0)Michigan (7–0)Oregon (6–1)Creighton (8–1)Arkansas (13–0)Oregon (10–2)Oklahoma (11–1)Michigan (13–3)North Carolina (12–5)Gonzaga (19–2)Gonzaga (21–2)Arizona (18–5)Texas (20–6)UCLA (21–6)Michigan (21–8)UCLA (25–9)Iowa State (22–9)17.
18.BaylorArizona (2–0)Oregon (3–0)Louisville (5–2)Creighton (7–1)Baylor (7–2)Arizona (9–1)Arizona (10–1)Oregon (11–3)Baylor (12–3)Iowa State (11–4)Iowa State (13–4)Michigan (17–5)UCLA (18–6)Arizona (19–6)Gonzaga (25–3)North Carolina (20–9)Michigan (22–9)Michigan (22–9)18.
19.ArizonaMaryland (2–1)Texas (1–3)Oregon (5–1)Baylor (6–2)Michigan (9–1)Michigan (10–1)Gonzaga (12–2)Duke (13–1)Oklahoma (12–2)Arizona (14–4)Arizona (15–4)Villanova (18–4)Florida State (20–5)North Carolina (18–7)Texas (21–7)UCLA (22–8)North Carolina (21–10)Gonzaga (28–4)19.
20.OregonCreighton (2–0)UCLA (5–0)Maryland (6–2)Maryland (7–3)Arizona (7–1)Kansas (10–0)Oklahoma (10–1)Gonzaga (14–2)Gonzaga (16–2)NC State (13–5)NC State (15–5)Oklahoma (16–4)Texas (18–6)Gonzaga (23–3)Iowa State (17–7)Colorado (22–7)Colorado (23–8)North Carolina (21–10)20.
21.CreightonOregon (2–0)Baylor (3–1)Baylor (5–2)Arkansas (10–0)Arkansas (12–0)Creighton (8–2)Creighton (8–3)Kansas (11–1)Oregon (12–4)Illinois (15–3)Villanova (18–3)Middle Tennessee (18–2)Iowa State (15–6)Colorado (20–5)Colorado (21–6)Arizona (21–8)UNLV (28–2)Colorado (23–8)21.
22.NebraskaNebraska (2–0)Michigan (4–0)Texas (3–3)Gonzaga (7–2)Kansas (9–0)Gonzaga (10–2)Kansas (10–1)North Carolina (9–4)North Carolina (10–5)Villanova (16–3)Illinois (16–4)Arizona (16–5)NC State (16–6)Iowa State (15–7)North Carolina (19–8)UNLV (27–2)Washington State (23–10)UNLV (31–2)22.
23.South Dakota StateMichigan (2–0)Tennessee (2–3) тGonzaga (5–1)Oklahoma (7–1)Gonzaga (9–2)Oklahoma (9–1)Baylor (9–3)Baylor (10–3)Kansas (12–2)Oregon (13–5)Middle Tennessee (16–2)Florida State (19–5)Gonzaga (22–3)UNLV (24–2)Florida State (22–7)Iowa State (18–8)Tennessee (23–11)Washington State (23–10)23.
24.PrincetonVillanova (2–0)Villanova (4–0) тMarquette (6–1)Kansas State (8–1)Oklahoma (8–1)Baylor (8–3)Arkansas (13–2)St. John's (13–0)Illinois (14–3)Colorado (14–3)Florida State (18–4)Texas (16–6)South Florida (22–4)Florida State (20–7)UNLV (25–2)Middle Tennessee (23–4)Arizona (21–9)Tennessee (23–11)24.
25.MichiganUtah (3–0)Kansas State (5–0)Villanova (6–1)Villanova (7–2)Villanova (9–2)St. John's (11–0)St. John's (12–0)Creighton (9–4)Villanova (14–3)Texas (13–5)Colorado (15–4)South Florida (20–4)Colorado (18–5)USC (19–6)Illinois (20–7) т
Middle Tennessee (22–4) т
South Florida (25–5)Middle Tennessee (25–4)Arizona (21–9)25.
Preseason
Oct 18
Week 2
Nov 14
Week 3
Nov 21
Week 4
Nov 28
Week 5
Dec 5
Week 6
Dec 12
Week 7
Dec 19
Week 8
Dec 26
Week 9
Jan 2
Week 10
Jan 9
Week 11
Jan 16
Week 12
Jan 23
Week 13
Jan 30
Week 14
Feb 6
Week 15
Feb 13
Week 16
Feb 20
Week 17
Feb 27
Week 18
Mar 6
Week 19
Mar 13
Dropped:
No. 23 South Dakota State
No. 24 Princeton
Dropped:
No. 16 Oklahoma
No. 22 Nebraska
Dropped:
  • No. 23 Tennessee
  • No. 25 Kansas State
Dropped:
  • No. 18 Louisville
  • No. 22 Texas
  • No. 24 Marquette
Dropped:
  • No. 24 Kansas State
Dropped:
  • No. 25 Villanova
NoneDropped:
No. 24 Arkansas
Dropped:
  • No. 24 St. John's
  • No. 25 Creighton
Dropped:
  • No. 18 Baylor
  • No. 23 Kansas
Dropped:
  • No. 23 Oregon
  • No. 25 Texas
Dropped:
  • No. 22 Illinois
  • No. 25 Colorado
Dropped:
  • No. 21 Middle Tennessee
Dropped:
  • No. 22 NC State
  • No. 24 South Florida
Dropped:
  • No. 25 USC
Dropped:
  • No. 23 Florida State
  • No. 25 Illinois
Dropped:
  • No. 23 Iowa State
  • No. 25 South Florida
Dropped:
  • No. 25 Middle Tennessee

Copied from Module:Sports_results/doc#Win/Draw/Loss_colour.

Home \ Away FDT T2 T3 DDD  
FIFA World Cup Dream Team 1–0[a] 0–1 16 Nov '14 3 Sep '15
Team 2 B–F 3 Sep '15 B–D 3 Sep '15
Team 3 16 Nov '14 C–B 16 Nov '14 C–E
DDD F.C. D–F 3 Sep '15 D–C 3 Sep '15
Gibraltar   E–F 9–5 16 Nov '14 E–D
Updated to match(es) played on 1 January 1900. Source: Wikipedia
Notes:
  1. ^ Match awarded to FIFA World Cup Dream Team with a 1–0 score.

Padding 2

edit

Padding for testing purposes.


Cite error: There are <ref group=lower-roman> tags or {{efn-lr}} templates on this page, but the references will not show without a {{reflist|group=lower-roman}} template or {{notelist-lr}} template (see the help page).