Template:Navbox with columns/testcases#colclass, colbodyclass, colNbodyclass tests
{{testcases notice}}
This is a page for testing the sandbox version of {{tl|Navbox with columns}}. Any changes to the template should be tested in the sandbox and verified here before going live.
{{TOC limit|2}}
Basic tests
=Row/colspan=
{{tlx|Navbox with columns}}
{{Navbox with columns
|name = Navbox with columns/testcases
|state = uncollapsed
|title = Row/colspan tests
|colstyle = text-align:center;background:silver;
|colwidth = 15%
|col1width = 12%
|col2width = 13%
|col12colspan = 3
|col1headercolspan = 2
|col3headerrowspan = 2
|col4headercolspan = 3
|col7headerrowspan = 2
|col12headercolspan = 3
|col1header = Col1Header
|col1header2 = Col1Header2
|col2header2 = Col2Header2
|col3header = Col3Header
|col4header = Col4Header
|col4header2 = Col4Header2
|col5header2 = Col5Header2
|col6header2 = Col6Header2
|col7header = Col7Header
|col8header = Col8Header
|col9header = Col9Header
|col10header = Col10Header
|col11header = Col11Header
|col12header = Col12Header
|col1 = Col1
|col2 = Col2
|col3 = Col3
|col4 = Col4
|col5 = Col5
|col6 = Col6
|col7 = Col7
|col8 = Col8
|col9 = Col9
|col10 = Col10
|col11 = Col11
|col12 = Col12
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
|name = Navbox with columns/testcases
|state = uncollapsed
|title = Row/colspan tests
|colstyle = text-align:center;background:silver;
|colwidth = 15%
|col1width = 12%
|col2width = 13%
|col12colspan = 3
|col1headercolspan = 2
|col3headerrowspan = 2
|col4headercolspan = 3
|col7headerrowspan = 2
|col12headercolspan = 3
|col1header = Col1Header
|col1header2 = Col1Header2
|col2header2 = Col2Header2
|col3header = Col3Header
|col4header = Col4Header
|col4header2 = Col4Header2
|col5header2 = Col5Header2
|col6header2 = Col6Header2
|col7header = Col7Header
|col8header = Col8Header
|col9header = Col9Header
|col10header = Col10Header
|col11header = Col11Header
|col12header = Col12Header
|col1 = Col1
|col2 = Col2
|col3 = Col3
|col4 = Col4
|col5 = Col5
|col6 = Col6
|col7 = Col7
|col8 = Col8
|col9 = Col9
|col10 = Col10
|col11 = Col11
|col12 = Col12
}}
{{clear}}
=Subgroups with nesting=
{{tlx|Navbox with columns}}
{{Navbox with columns
|name = Navbox with columns/testcases
|state = uncollapsed
|title = Subgroups with nesting
|colstyle = text-align:center;background:silver;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns
|border = subgroup
|colwidth = 50%
|colstyle = text-align:center;background:silver;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns
|border = subgroup
|colwidth = 33%
|colstyle = text-align:center;background:silver;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
|name = Navbox with columns/testcases
|state = uncollapsed
|title = Subgroups with nesting
|colstyle = text-align:center;background:silver;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = {{Navbox with columns/sandbox
|border = subgroup
|colwidth = 50%
|colstyle = text-align:center;background:silver;
|col1header = Col1.1Header
|col2header = Col1.2Header
|col1 = Col1.1
|col2 = Col1.2
}}
|col2 = Col2
|col3 = {{Navbox with columns/sandbox
|border = subgroup
|colwidth = 33%
|colstyle = text-align:center;background:silver;
|col1header = Col3.1Header
|col2header = Col3.2Header
|col3header = Col3.3Header
|col1 = Col3.1
|col2 = Col3.2
|col3 = Col3.3
}}
|col4 = Col4
}}
{{clear}}
=Subgroups with in-line nesting=
{{tlx|Navbox with columns}}
{{Navbox with columns
|name = Navbox with columns/testcases
|state = uncollapsed
|title = Subgroups with nesting
|colstyle = text-align:center;background:silver;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = child
|col1_border = subgroup
|col1_colwidth = 50%
|col1_colstyle = text-align:center;background:silver;
|col1_col1header = Col1.1Header
|col1_col2header = Col1.2Header
|col1_col1 = Col1.1
|col1_col2 = Col1.2
|col2 = Col2
|col3 = subgroup
|col3_group1 = Group3.1
|col3_list1 = List3.1
|col3_list2 = List3.2
|col4 = Col4
|list1 = List1
|group2 = Group2
|list2 = child
|2_list1 = List 2.1
|2_group2 = Group 2.2
|2_list2 = subgroup
|2_2_group1 = Group 2.2.1
|2_2_list1 = List 2.2.1
|2_2_list2 = List 2.2.2
|2_list3 = subgroup
|2_3_group1 = Group 2.3.1
|2_3_list1 = List 2.3.1
|2_3_list2 = List 2.3.2
|2_group4 = Group 2.4
|2_list4 = List 2.4
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
|name = Navbox with columns/testcases
|state = uncollapsed
|title = Subgroups with nesting
|colstyle = text-align:center;background:silver;
|col1width = 33%
|col2width = 17%
|col3width = 33%
|col4width = 17%
|col1header = Col1Header
|col2header = Col2Header
|col3header = Col3Header
|col4header = Col4Header
|col1 = child
|col1_border = subgroup
|col1_colwidth = 50%
|col1_colstyle = text-align:center;background:silver;
|col1_col1header = Col1.1Header
|col1_col2header = Col1.2Header
|col1_col1 = Col1.1
|col1_col2 = Col1.2
|col2 = Col2
|col3 = subgroup
|col3_group1 = Group3.1
|col3_list1 = List3.1
|col3_list2 = List3.2
|col4 = Col4
|list1 = List1
|group2 = Group2
|list2 = child
|2_list1 = List 2.1
|2_group2 = Group 2.2
|2_list2 = subgroup
|2_2_group1 = Group 2.2.1
|2_2_list1 = List 2.2.1
|2_2_list2 = List 2.2.2
|2_list3 = subgroup
|2_3_group1 = Group 2.3.1
|2_3_list1 = List 2.3.1
|2_3_list2 = List 2.3.2
|2_group4 = Group 2.4
|2_list4 = List 2.4
}}
{{clear}}
More realistic tests
=US Governors=
{{tlx|Navbox with columns}}
{{Navbox with columns
|name = USGovernors
|state = uncollapsed
|titlestyle =
|title = Current governors of states and territories of the United States
|image =
|padding = 5em;
|abovestyle =
|above =
|belowstyle = text-align:center; background:#ddddff;
|below =
|colstyle = padding-left:3px;
|colwidth = 20%
|col1 = AL: Bob Riley (R)
AK: Sarah Palin (R)
AZ: Janet Napolitano (D)
AR: Mike Beebe (D)
CA: Arnold Schwarzenegger (R)
CO: Bill Ritter (D)
CT: Jodi Rell (R)
DE: Ruth Ann Minner (D)
FL: Charlie Crist (R)
GA: Sonny Perdue (R)
HI: Linda Lingle (R)
ID: Butch Otter (R)
|col2 = IL: Rod Blagojevich (D)
IN: Mitch Daniels (R)
IA: Chet Culver (D)
KS: Kathleen Sebelius (D)
KY: Steve Beshear (D)
LA: Bobby Jindal (R)
ME: John Baldacci (D)
MD: Martin O'Malley (D)
MA: Deval Patrick (D)
MI: Jennifer Granholm (D)
MN: Tim Pawlenty (R)
MS: Haley Barbour (R)
| col3 = MO: Matt Blunt (R)
MT: Brian Schweitzer (D)
NE: Dave Heineman (R)
NV: Jim Gibbons (R)
NH: John Lynch (D)
NJ: Jon Corzine (D)
NM: Bill Richardson (D)
NY: David Paterson (D)
NC: Mike Easley (D)
ND: John Hoeven (R)
OH: Ted Strickland (D)
OK: Brad Henry (D)
| col4 = OR: Ted Kulongoski (D)
PA: Ed Rendell (D)
RI: Donald Carcieri (R)
SC: Mark Sanford (R)
SD: Mike Rounds (R)
TN: Phil Bredesen (D)
TX: Rick Perry (R)
UT: Jon Huntsman (R)
VT: Jim Douglas (R)
VA: Tim Kaine (D)
WA: Christine Gregoire (D)
WV: Joe Manchin (D)
| col5 = WI: Jim Doyle (D)
WY: Dave Freudenthal (D)
AS: Togiola Tulafono (D)
DC: Adrian Fenty (Mayor) (D)
GU: Felix Camacho (R)
MP: Benigno Fitial (Covenant)
PR: Aníbal Acevedo Vilá (D)
VI: John de Jongh (D)
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
|name = USGovernors
|state = uncollapsed
|titlestyle =
|title = Current governors of states and territories of the United States
|image =
|padding = 5em;
|abovestyle =
|above =
|belowstyle = text-align:center; background:#ddddff;
|below =
|colstyle = padding-left:3px;
|colwidth = 20%
|col1 = AL: Bob Riley (R)
AK: Sarah Palin (R)
AZ: Janet Napolitano (D)
AR: Mike Beebe (D)
CA: Arnold Schwarzenegger (R)
CO: Bill Ritter (D)
CT: Jodi Rell (R)
DE: Ruth Ann Minner (D)
FL: Charlie Crist (R)
GA: Sonny Perdue (R)
HI: Linda Lingle (R)
ID: Butch Otter (R)
|col2 = IL: Rod Blagojevich (D)
IN: Mitch Daniels (R)
IA: Chet Culver (D)
KS: Kathleen Sebelius (D)
KY: Steve Beshear (D)
LA: Bobby Jindal (R)
ME: John Baldacci (D)
MD: Martin O'Malley (D)
MA: Deval Patrick (D)
MI: Jennifer Granholm (D)
MN: Tim Pawlenty (R)
MS: Haley Barbour (R)
| col3 = MO: Matt Blunt (R)
MT: Brian Schweitzer (D)
NE: Dave Heineman (R)
NV: Jim Gibbons (R)
NH: John Lynch (D)
NJ: Jon Corzine (D)
NM: Bill Richardson (D)
NY: David Paterson (D)
NC: Mike Easley (D)
ND: John Hoeven (R)
OH: Ted Strickland (D)
OK: Brad Henry (D)
| col4 = OR: Ted Kulongoski (D)
PA: Ed Rendell (D)
RI: Donald Carcieri (R)
SC: Mark Sanford (R)
SD: Mike Rounds (R)
TN: Phil Bredesen (D)
TX: Rick Perry (R)
UT: Jon Huntsman (R)
VT: Jim Douglas (R)
VA: Tim Kaine (D)
WA: Christine Gregoire (D)
WV: Joe Manchin (D)
| col5 = WI: Jim Doyle (D)
WY: Dave Freudenthal (D)
AS: Togiola Tulafono (D)
DC: Adrian Fenty (Mayor) (D)
GU: Felix Camacho (R)
MP: Benigno Fitial (Covenant)
PR: Aníbal Acevedo Vilá (D)
VI: John de Jongh (D)
}}
=Czech lands=
{{tlx|Navbox with columns}}
{{Navbox with columns
|name = Czech lands
|state = uncollapsed
|title = Historical territories in the contemporary Czech Republic
|padding = 0
|colwidth = 16em
|colstyle = text-align:center;
|col1 =
|col2 =
Image:Banner of arms of Moravia.svg
|col3 =
Image:Flag of Czech Silesia.svg
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
|name = Czech lands
|state = uncollapsed
|title = Historical territories in the contemporary Czech Republic
|padding = 0
|colwidth = 16em
|colstyle = text-align:center;
|col1 =
|col2 =
Image:Banner of arms of Moravia.svg
|col3 =
Image:Flag of Czech Silesia.svg
}}
=Singapore Armed Forces=
{{tlx|Navbox with columns}}
{{Navbox with columns
|name = Singapore Armed Forces
|state = uncollapsed
|titlestyle = background:#ddf;
|title = File: Singapore Armed Forces
|padding = 0
|col1width=16%
|col1 =
|col2width=21%
|col2 =
|col3width=30%
|col3 =
|col4width=30%
|col4 =
|below = Other Singapore Armed Forces Units and Affiliated Organisations
{{nowrap|Bands}} {{·}} {{nowrap|Football Club}} {{·}} {{nowrap|Medical Training Institute}} {{·}} {{nowrap|Military Police Command}} {{·}} {{nowrap|Parachute Team}} {{·}} {{nowrap|National Cadet Corps}} {{·}} {{nowrap|National Service in Singapore}}
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
|name = Singapore Armed Forces
|state = uncollapsed
|titlestyle = background:#ddf;
|title = File: Singapore Armed Forces
|padding = 0
|col1width=16%
|col1 =
|col2width=21%
|col2 =
|col3width=30%
|col3 =
|col4width=30%
|col4 =
|below = Other Singapore Armed Forces Units and Affiliated Organisations
{{nowrap|Bands}} {{·}} {{nowrap|Football Club}} {{·}} {{nowrap|Medical Training Institute}} {{·}} {{nowrap|Military Police Command}} {{·}} {{nowrap|Parachute Team}} {{·}} {{nowrap|National Cadet Corps}} {{·}} {{nowrap|National Service in Singapore}}
}}
=Plastics=
{{tlx|Navbox with columns}}
{{Navbox with columns
| name = Plastics
| title = Plastics
|state = uncollapsed
| cols = 3
| colwidth = 33%
| colstyle = text-align: center
| col1 = Polyethylene (PE)
Polyethylene terephthalate (PET or PETE)
Polyvinyl chloride (PVC)
Polyvinylidene chloride (PVDC)
Polylactic acid (PLA)
| col2 = Polypropylene (PP)
Polyamide (PA)
Polycarbonate (PC)
Polytetrafluoroethylene (PTFE)
Polyurethane (PU)
| col3 = Polystyrene (PS)
Polyester
Acrylonitrile butadiene styrene (ABS)
Polymethyl methacrylate (PMMA)
Polyoxymethylene (POM)
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
| name = Plastics
| title = Plastics
|state = uncollapsed
| cols = 3
| colwidth = 33%
| colstyle = text-align: center
| col1 = Polyethylene (PE)
Polyethylene terephthalate (PET or PETE)
Polyvinyl chloride (PVC)
Polyvinylidene chloride (PVDC)
Polylactic acid (PLA)
| col2 = Polypropylene (PP)
Polyamide (PA)
Polycarbonate (PC)
Polytetrafluoroethylene (PTFE)
Polyurethane (PU)
| col3 = Polystyrene (PS)
Polyester
Acrylonitrile butadiene styrene (ABS)
Polymethyl methacrylate (PMMA)
Polyoxymethylene (POM)
}}
=Slavic-speaking=
{{tlx|Navbox with columns}}
{{Navbox with columns
|name = Slavic-speaking states
|state = uncollapsed
|title = Slavic-speaking states
|cols = 4
|colwidth = 14.25em
|padding = 7em
|col1 = West Slavic
{{CZE}}
{{POL}}
{{SVK}}
|col2 = South Slavic
{{BIH}}
{{BGR}}
{{HRV}}
{{MKD}}
|col3width=12em
|col3 =
{{MNE}}
{{SRB}}
{{SVN}}
|col4width=15em
|col4 = East Slavic
{{BLR}}
{{RUS}}
{{UKR}}
}}
{{tlx|Navbox with columns/sandbox}}
{{Navbox with columns/sandbox
|name = Slavic-speaking states
|state = uncollapsed
|title = Slavic-speaking states
|cols = 4
|colwidth = 14.25em
|padding = 7em
|col1 = West Slavic
{{CZE}}
{{POL}}
{{SVK}}
|col2 = South Slavic
{{BIH}}
{{BGR}}
{{HRV}}
{{MKD}}
|col3width=12em
|col3 =
{{MNE}}
{{SRB}}
{{SVN}}
|col4width=15em
|col4 = East Slavic
{{BLR}}
{{RUS}}
{{UKR}}
}}
{{clear}}