Difference between revisions of "Template:Navbox/testcases"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Import from Wikipedia (CC BY-SA license), with a few of their test cases trimmed out, due to heavy linking to Wikipedia content.)
 
m
 
(6 intermediate revisions by one other user not shown)
Line 2: Line 2:
  
 
These all use the <nowiki>{{</nowiki>[[Template:Navbox/sandbox|sandbox version]]<nowiki>}}</nowiki> of the {{tl|Navbox}} (and subsequently {{tl|Navbar}}) code; please ensure that all of them look correct here before saving sandbox tests to the live template.
 
These all use the <nowiki>{{</nowiki>[[Template:Navbox/sandbox|sandbox version]]<nowiki>}}</nowiki> of the {{tl|Navbox}} (and subsequently {{tl|Navbar}}) code; please ensure that all of them look correct here before saving sandbox tests to the live template.
 +
 +
Additional test cases from Wikipedia are included, but disabled using {{tl|Void}}, as they link heavily to Wikipedia content.  They are left in, but disabled, for convenient access to them when making significant changes to the template.  They provide a wide range of test cases for occasional use.  Please do not save the testcase template with them enabled, only use them with MediaWiki's "Show Preview" functionality.
 +
 +
== Kerbal Space Program Wiki tests ==
 +
 +
==={{tl|Demo parts}}===
 +
{{tlx|Navbox}}
 +
{{Demo parts}}
 +
 +
{{tlx|Navbox/sandbox}}
 +
{{Demo parts|navbox=sandbox}}
 +
 +
==={{tl|Parts}}===
 +
{{tlx|Navbox}}
 +
{{Parts}}
 +
 +
{{tlx|Navbox/sandbox}}
 +
{{Parts|navbox=sandbox}}
 +
 +
==={{tl|Stock craft}}===
 +
{{tlx|Navbox}}
 +
{{Stock craft}}
 +
 +
{{tlx|Navbox/sandbox}}
 +
{{Stock craft|navbox=sandbox}}
 +
 +
==={{Tl|Versions}}===
 +
{{tlx|Navbox}}
 +
{{Versions}}
 +
 +
{{tlx|Navbox/sandbox}}
 +
{{Versions|navbox=sandbox}}
  
 
==Basic tests==
 
==Basic tests==
Line 52: Line 84:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Image Test
 
|title = Image Test
Line 67: Line 99:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Image No Groups Test
 
|title = Image No Groups Test
Line 79: Line 111:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|imageleft = [[File:Navball.png|100px]]
+
|imageleft = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Left Image Test
 
|title = Left Image Test
Line 94: Line 126:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|imageleft = [[File:Navball.png|100px]]
+
|imageleft = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Left Image, No Groups Test
 
|title = Left Image, No Groups Test
Line 106: Line 138:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
|imageleft = [[File:Navball.png|100px]]
+
|imageleft = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Both Images Test
 
|title = Both Images Test
Line 122: Line 154:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
|imageleft = [[File:Navball.png|100px]]
+
|imageleft = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Both Images, No Groups Test
 
|title = Both Images, No Groups Test
Line 138: Line 170:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Simple Subgroup Test
 
|title = Simple Subgroup Test
Line 163: Line 195:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Subgroup without all Groups Test
 
|title = Subgroup without all Groups Test
Line 189: Line 221:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Multiple Subgroup Test
 
|title = Multiple Subgroup Test
Line 222: Line 254:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = NestedSubgroup Test
 
|title = NestedSubgroup Test
Line 263: Line 295:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Nested Collapsible Subgroup Test
 
|title = Nested Collapsible Subgroup Test
Line 291: Line 323:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Nested Collapsible Subgroup with Image and VDE Test
 
|title = Nested Collapsible Subgroup with Image and VDE Test
Line 304: Line 336:
 
   |state = uncollapsed
 
   |state = uncollapsed
 
   |name = CapitalR/Test1
 
   |name = CapitalR/Test1
   |image = [[File:Navball.png|100px]]
+
   |image = [[File:Placeholder.svg|100px]]
 
   |title = Nested Subgroup
 
   |title = Nested Subgroup
 
   |group1 = Group1
 
   |group1 = Group1
Line 329: Line 361:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Test title
 
|title = Test title
Line 384: Line 416:
 
  |list1 =  
 
  |list1 =  
 
   {{Navbox/sandbox|child
 
   {{Navbox/sandbox|child
   |image = [[File:Navball.png|100px]]
+
   |image = [[File:Placeholder.svg|100px]]
 
   |title = Test title1
 
   |title = Test title1
  
Line 397: Line 429:
 
  |list2 =  
 
  |list2 =  
 
   {{Navbox/sandbox|child
 
   {{Navbox/sandbox|child
   |image = [[File:Navball.png|100px]]
+
   |image = [[File:Placeholder.svg|100px]]
 
   |title = Test title2
 
   |title = Test title2
  
Line 410: Line 442:
 
  |list3 =
 
  |list3 =
 
   {{Navbox/sandbox|child
 
   {{Navbox/sandbox|child
   |image = [[File:Navball.png|100px]]
+
   |image = [[File:Placeholder.svg|100px]]
 
   |title = Test title3
 
   |title = Test title3
  
Line 428: Line 460:
 
  |list1 =  
 
  |list1 =  
 
   {{Navbox/sandbox|child
 
   {{Navbox/sandbox|child
   |image = [[File:Navball.png|100px]]
+
   |image = [[File:Placeholder.svg|100px]]
 
   |title = Test title1
 
   |title = Test title1
 
   |above = Above
 
   |above = Above
Line 443: Line 475:
 
  |list2 =  
 
  |list2 =  
 
   {{Navbox/sandbox|child
 
   {{Navbox/sandbox|child
   |image = [[File:Navball.png|100px]]
+
   |image = [[File:Placeholder.svg|100px]]
 
   |title = Test title2
 
   |title = Test title2
 
   |above = Above
 
   |above = Above
Line 465: Line 497:
 
   }}
 
   }}
 
}}
 
}}
 +
{{Void|Navbox/sandbox
 +
|name = French overseas empire
 +
|title = [[File:Blason France moderne.svg|15px]] {{flagicon|FRA}} [[French colonial empires|French overseas empire]]
 +
|titlestyle = {{{titlestyle|}}}
 +
|state = uncollapsed
 +
|listclass = hlist
 +
 +
|group1 = Former
 +
|list1 = {{Navbox/sandbox|child
 +
|list1 = {{Navbox/sandbox|child
 +
|name      = Former French colonies in Africa and the Indian Ocean
 +
|state      = collapsed
 +
|title      = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
 +
|groupstyle = background:lavender;
 +
 +
|group1 = [[Mahgreb]]
 +
|list1  =
 +
* [[French rule in Algeria|Algeria]]
 +
* [[French Morocco|Morocco]]
 +
** [[Arguin|Arguin Island]]
 +
* [[History of Tunisia|Tunisia]]
  
==Style tests==
+
|group2 = [[French West Africa]]
 +
|list2  =  
 +
* [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]
 +
* [[French Dahomey|Dahomey]]
 +
* [[French Sudan]]
 +
* [[French Guinea|Guinea]]
 +
* [[History of Mauritania#French colonization and post-colonial history|Mauritania]]
 +
* [[History of Niger#Colonization|Niger]]
 +
* [[History of Senegal|Senegal]]
 +
* [[French Upper Volta|Upper Volta]]
  
{{Navbox/sandbox
+
|group3 = &nbsp;
|name = Navbox/testcases
+
|list3  =  
|image = [[File:Navball.png|100px]]
+
* [[French Togoland]]
|state = uncollapsed
+
* [[James Island (The Gambia)|James Island]]
|title = Test title
 
|above = Above
 
|below = Below
 
  
|style = background:purple;
+
|group4 = [[French Equatorial Africa]]
|basestyle = background:magenta;color:white;
+
|list4  =  
|titlestyle = background:red; color:white;
+
* [[Colonial Chad|Chad]]
|abovestyle = background:green; color:white;
+
* [[History of Gabon|Gabon]]
|belowstyle = background:blue; color:white;
+
* [[History of the Republic of the Congo|Middle Congo]]
|liststyle = border-color:purple;
+
* [[Oubangui-Chari]]
  
|group1style = background:blue;
+
|group5 = [[Comoros]]
|list1style = background:magenta;
+
|list5  =
|group1 = Group1
+
* [[Anjouan]]
|list1 = List1
+
* [[Grande Comore]]
 +
* [[Mohéli]]
 +
 
 +
|group6 = &nbsp;
 +
|list6  =  
 +
* [[History of Djibouti#French interest|French Somaliland (Djibouti)]]
 +
* [[History of Madagascar#French control|Madagascar]]
 +
* [[Mauritius|Ile de France]]
 +
* [[Seychelles]]
 +
}}
 +
 
 +
|list2 = {{Navbox/sandbox|child
 +
|name      = Former French colonies in the Americas
 +
|state      = collapsed
 +
|titlestyle =
 +
|title      = [[French colonial empires|Former French colonies]] in the [[Americas]]
 +
|groupstyle =  
 +
|list1 =  
 +
* [[New France]]
 +
** [[Acadia]]
 +
** [[Louisiana (New France)|Louisiana]]
 +
** [[Canada, New France|Canada]]
 +
** [[Newfoundland (island)|Terre Neuve]] 1655–1763
  
|group2style = background:yellow;
+
|list2 =  
|list2style = background:black;color:white;
+
* [[Inini]]
|group2 = Group2
+
* [[Berbice]]
|list2 = List2
+
* [[Saint-Domingue]]
 +
** [[Haiti]]
 +
* [[Tobago]]
 +
* [[History of the British Virgin Islands|Virgin Islands]]
 +
* [[France Antarctique]]
 +
* [[France Équinoxiale]]
  
|group3style = background:orange; color:green;
+
|belowstyle =  
|group3 = Group3
+
|below      = [[French West India Company]]
 +
}}
  
|list3 =  
+
|list3 = {{Navbox/sandbox|child
{{Navbox/sandbox|child
+
|name      = Former French colonies in Asia and Oceania
|style = background:purple;
+
|state      = collapsed
|basestyle = background:cyan;
+
|title      = [[French colonial empires|Former French colonies]] in [[Asia]] and [[Oceania]]
|liststyle = background:yellow;border-color:purple;
+
|groupstyle =  
|group1style = background:purple;
 
|list1style = background:red; color:white;
 
|group1 = Group3.1
 
|list1 = List3.1
 
  
|group2 = Group3.2
+
|group1 = [[French India]]
  |list2 = List3.2
+
|list1 =
|group3 = Group3.3
+
* [[Chandernagor]]
  |list3 =  
+
* [[Coromandel Coast]]
  {{Navbox/sandbox|child
+
* [[History of Chennai|Madras]]
  |state = uncollapsed
+
* [[Mahé, India|Mahé]]
  |image = [[File:Navball.png|100px]]
+
* [[History of Pondicherry|Pondichéry]]
  |style = background:purple;
+
* [[Karaikal]]
  |basestyle = background:blue;color:white;
+
* [[Yanam (India)|Yanaon]]
  |evenstyle = background:cyan;
+
 
  |oddstyle = background:red;color:white;
+
|group2 = [[French Indochina]]
  |liststyle = border-color:purple;
+
|list2 =  
  |title = Title 3.3
+
* [[Colonial Cambodia|Cambodia]]
  |above = Above 3.3
+
* [[History of Laos to 1945#French Laos|Laos]]
  |below = Below 3.3
+
* [[French Indochina|Vietnam]]
  |group1 = Group3.3.1
+
** [[Annam (French protectorate)|Annam]]
  |list1 = List3.3.1
+
** [[Cochinchina]]|[[Tonkin]]
  |group2 = Group3.3.2
+
 
  |list2 = List3.3.2
+
|group3 = Other Asian
  }}
+
|list3  =  
}}
+
* [[Alawite State|Alaouites]]
|list4style = background:purple;color:white;
+
* [[Republic of Hatay|Alexandretta-Hatay]]
|group4 = Group4
+
* [[Sri Lanka|Ceylon]]
|list4 = List4
+
* [[Kwangchowan]]
|group5 = Group5
+
 
|list5 =
+
|group4 = [[Oceania]]
{{Navbox/sandbox|child
+
|list4  =  
|title = Test title
+
* [[New Hebrides]] ([[History of Vanuatu|Vanuatu]])
|state = uncollapsed
+
 
|style = background:purple;
+
|belowstyle =  
  |basestyle = background:red;color:white;
+
|below      = [[French East India Company]]
  |liststyle = border-color:purple;
+
}}
|evenstyle = background:yellow;
+
}}
|oddstyle = background:green;
+
 
  |group1 = Group5.1
+
|group2 = Present
|list1 = List5.1
+
|list2 = {{Navbox/sandbox|child
  |group2 = Group5.2
+
| name  = French overseas departments and territories
  |list2 = List5.2
+
| title = [[Overseas departments and territories of France]] [[File:Placeholder.svg|26px]]
  |group3 = Group5.3
+
| state = collapsed
|list3 = List5.3
+
| group1 = [[Overseas department]]s{{smallsup|1}}
}}
+
| list1 =
 +
* [[French Guiana]]
 +
* [[Guadeloupe]]
 +
* [[Martinique]]
 +
* [[Réunion]]
 +
 
 +
| group2 = [[Overseas collectivity|Overseas collectivities]]
 +
| list2 =
 +
* [[French Polynesia]]
 +
* [[Mayotte]]{{smallsup|2}}
 +
* [[Saint Barthélemy]]
 +
* [[Saint Martin (France)|Saint Martin]]
 +
* [[Saint Pierre and Miquelon]]
 +
* [[Wallis and Futuna]]
 +
 
 +
| group3 = Special status
 +
| list3 =  
 +
* [[New Caledonia]]
 +
 
 +
| group4 = Uninhabited lands
 +
| list4 =  
 +
* [[Clipperton Island]]
 +
* [[French Southern and Antarctic Lands]]
 +
 
 +
| below = {{smallsup|1}} Also known as [[Overseas region|overseas regions]]{{smallsup|2}}&nbsp;Claimed by [[Comoros]]. {{smallsup|3}}&nbsp;Claimed by [[Madagascar]]. {{smallsup|4}}&nbsp;Claimed by [[Seychelles]]. {{smallsup|5}}&nbsp;Claimed by [[Mauritius]].
 +
| belowstyle = font-size:90%
 +
}}
 
}}
 
}}
 +
 +
==Style tests==
 +
 
{{Navbox/sandbox
 
{{Navbox/sandbox
|name = Navbox/sandbox
+
|name = Navbox/testcases
 +
|image = [[File:Placeholder.svg|100px]]
 
|state = uncollapsed
 
|state = uncollapsed
|title = All Styles Test
+
|title = Test title
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
|imageleft = [[File:Navball.png|100px]]
+
|style = background:purple;
|image = [[File:Navball.png|100px]]
+
|basestyle = background:magenta;color:white;
 +
|titlestyle = background:red; color:white;
 +
|abovestyle = background:green; color:white;
 +
|belowstyle = background:blue; color:white;
 +
|liststyle = border-color:purple;
 +
 
 +
|group1style = background:blue;
 +
|list1style = background:magenta;
 +
|group1 = Group1
 +
|list1 = List1
  
|imagestyle = background:purple;
+
|group2style = background:yellow;
|imageleftstyle = background:cyan;
+
|list2style = background:black;color:white;
 +
|group2 = Group2
 +
|list2 = List2
  
|basestyle = font-size:110%;color:white;
+
|group3style = background:orange; color:green;
|titlestyle = background:blue;
+
|group3 = Group3
|abovestyle = background:red;
 
|belowstyle = background:green;
 
  
|groupstyle = color:white;
+
|list3 =  
|groupevenstyle = font-weight:normal;
+
{{Navbox/sandbox|child
|groupoddstyle = color:silver;
+
|style = background:purple;
|liststyle = color:white;
+
|basestyle = background:cyan;
|evenstyle = font-size:110%;
+
|liststyle = background:yellow;border-color:purple;
|oddstyle = font-size:90%;
+
|group1style = background:purple;
 +
|list1style = background:red; color:white;
 +
|group1 = Group3.1
 +
|list1 = List3.1
  
|group1style = background:blue;
+
|group2 = Group3.2
|group2style = background:green;
+
|list2 = List3.2
|group3style = background:red;
+
|group3 = Group3.3
|group4style = background:magenta;
+
|list3 =  
|group5style = background:yellow;
+
  {{Navbox/sandbox|child
|group6style = background:blue;
+
  |state = uncollapsed
|group7style = background:green;
+
  |image = [[File:Placeholder.svg|100px]]
|group8style = background:red;
+
  |style = background:purple;
|group9style = background:magenta;
+
  |basestyle = background:blue;color:white;
|group10style = background:yellow;
+
  |evenstyle = background:cyan;
|group11style = background:blue;
+
  |oddstyle = background:red;color:white;
|group12style = background:green;
+
  |liststyle = border-color:purple;
|group13style = background:red;
+
  |title = Title 3.3
|group14style = background:magenta;
+
  |above = Above 3.3
|group15style = background:yellow;
+
  |below = Below 3.3
|group16style = background:blue;
+
  |group1 = Group3.3.1
|group17style = background:green;
+
  |list1 = List3.3.1
|group18style = background:red;
+
  |group2 = Group3.3.2
|group19style = background:magenta;
+
  |list2 = List3.3.2
|group20style = background:yellow;
+
  }}
 
+
}}
|list1style = background:blue;
+
|list4style = background:purple;color:white;
|list2style = background:green;
+
|group4 = Group4
|list3style = background:red;
 
|list4style = background:magenta;
 
|list5style = background:yellow;
 
|list6style = background:blue;
 
|list7style = background:green;
 
|list8style = background:red;
 
|list9style = background:magenta;
 
|list10style = background:yellow;
 
|list11style = background:blue;
 
|list12style = background:green;
 
|list13style = background:red;
 
|list14style = background:magenta;
 
|list15style = background:yellow;
 
|list16style = background:blue;
 
|list17style = background:green;
 
|list18style = background:red;
 
|list19style = background:magenta;
 
|list20style = background:yellow;
 
 
 
|group1 = Group1
 
|list1 = List1
 
|group2 = Group2
 
|list2 = List2
 
|group3 = Group3
 
|list3 = List3
 
|group4 = Group4
 
 
|list4 = List4
 
|list4 = List4
 
|group5 = Group5
 
|group5 = Group5
|list5 = List5
+
|list5 =  
|group6 = Group6
+
{{Navbox/sandbox|child
|list6 = List6
+
|title = Test title
|group7 = Group7
+
|state = uncollapsed
|list7 = List7
+
|style = background:purple;
|group8 = Group8
+
|basestyle = background:red;color:white;
|list8 = List8
+
|liststyle = border-color:purple;
|group9 = Group9
+
|evenstyle = background:yellow;
|list9 = List9
+
|oddstyle = background:green;
|group10 = Group10
+
|group1 = Group5.1
|list10 = List10
+
|list1 = List5.1
|group11 = Group11
+
|group2 = Group5.2
|list11 = List11
+
|list2 = List5.2
|group12 = Group12
+
|group3 = Group5.3
|list12 = List12
+
|list3 = List5.3
|group13 = Group13
+
}}
|list13 = List13
 
|group14 = Group14
 
|list14 = List14
 
|group15 = Group15
 
|list15 = List15
 
|group16 = Group16
 
|list16 = List16
 
|group17 = Group17
 
|list17 = List17
 
|group18 = Group18
 
|list18 = List18
 
|group19 = Group19
 
|list19 = List19
 
|group20 = Group20
 
|list20 = List20
 
 
}}
 
}}
 
{{Navbox/sandbox
 
{{Navbox/sandbox
|name = Navbox/sandbox/test
+
|name = Navbox/sandbox
 
|state = uncollapsed
 
|state = uncollapsed
|title = "basestyle = background:red;color:white;" Test
+
|title = All Styles Test
|basestyle = background:red;color:white;
 
 
 
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
|group1 = Group1
+
|imageleft = [[File:Placeholder.svg|100px]]
|list1 = List1
+
|image = [[File:Placeholder.svg|100px]]
|group2 = Group2
+
 
|list2 = List2
+
|imagestyle = background:purple;
|group3 = Group3
+
|imageleftstyle = background:cyan;
|list3 = List3
 
}}
 
  
==Group width tests==
+
|basestyle = font-size:110%;color:white;
{{Navbox/sandbox
+
|titlestyle = background:blue;
|name = Navbox/testcases
+
|abovestyle = background:red;
|state = uncollapsed
+
|belowstyle = background:green;
|title = Groupwidth = 10em Test
 
|groupstyle = width:10em;
 
|liststyle = width:auto;
 
|above = Above
 
|below = Below
 
  
|group1 = Group1
+
|groupstyle = color:white;
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
+
|groupevenstyle = font-weight:normal;
|group2 = Group2
+
|groupoddstyle = color:silver;
|list2 = List2
+
|liststyle = color:white;
|group3 = Group3
+
|evenstyle = font-size:110%;
|list3 = List3
+
|oddstyle = font-size:90%;
}}
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|title = Groupwidth = 10em Test
 
|groupstyle = width:10em;
 
|liststyle = width:auto;
 
|imagestyle = width:1px;
 
  
|image = [[File:Navball.png|100px]]
+
|group1style = background:blue;
|above = Above
+
|group2style = background:green;
|below = Below
+
|group3style = background:red;
 
+
|group4style = background:magenta;
|group1 = Group1
+
|group5style = background:yellow;
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
+
|group6style = background:blue;
|group2 = Group2
+
|group7style = background:green;
|list2 = List2
+
|group8style = background:red;
|group3 = Group3
+
|group9style = background:magenta;
|list3 = List3
+
|group10style = background:yellow;
}}
+
|group11style = background:blue;
{{Navbox/sandbox
+
|group12style = background:green;
|name = Navbox/testcases
+
|group13style = background:red;
|state = uncollapsed
+
|group14style = background:magenta;
|title = Groupwidth = 10em Test
+
|group15style = background:yellow;
|groupstyle = width:10em;
+
|group16style = background:blue;
|liststyle = width:auto;
+
|group17style = background:green;
|imageleftstyle = width:1px;
+
|group18style = background:red;
 +
|group19style = background:magenta;
 +
|group20style = background:yellow;
  
|imageleft = [[File:Navball.png|100px]]
+
|list1style = background:blue;
|above = Above
+
|list2style = background:green;
|below = Below
+
|list3style = background:red;
 
+
|list4style = background:magenta;
|group1 = Group1
+
|list5style = background:yellow;
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
+
|list6style = background:blue;
|group2 = Group2
+
|list7style = background:green;
|list2 = List2
+
|list8style = background:red;
|group3 = Group3
+
|list9style = background:magenta;
|list3 = List3
+
|list10style = background:yellow;
}}
+
|list11style = background:blue;
{{Navbox/sandbox
+
|list12style = background:green;
|name = Navbox/testcases
+
|list13style = background:red;
|state = uncollapsed
+
|list14style = background:magenta;
|title = Groupwidth = 10em Test
+
|list15style = background:yellow;
|groupstyle = width:10em;
+
|list16style = background:blue;
|liststyle = width:auto;
+
|list17style = background:green;
|imagestyle = width:1px;
+
|list18style = background:red;
|imageleftstyle = width:1px;
+
|list19style = background:magenta;
|image = [[File:Navball.png|100px]]
+
|list20style = background:yellow;
|imageleft = [[File:Navball.png|100px]]
+
 
|above = Above
+
|group1 = Group1
|below = Below
+
|list1 = List1
 
 
|group1 = Group1
 
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
 
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
 
|group3 = Group3
 
|group3 = Group3
 
|list3 = List3
 
|list3 = List3
 +
|group4 = Group4
 +
|list4 = List4
 +
|group5 = Group5
 +
|list5 = List5
 +
|group6 = Group6
 +
|list6 = List6
 +
|group7 = Group7
 +
|list7 = List7
 +
|group8 = Group8
 +
|list8 = List8
 +
|group9 = Group9
 +
|list9 = List9
 +
|group10 = Group10
 +
|list10 = List10
 +
|group11 = Group11
 +
|list11 = List11
 +
|group12 = Group12
 +
|list12 = List12
 +
|group13 = Group13
 +
|list13 = List13
 +
|group14 = Group14
 +
|list14 = List14
 +
|group15 = Group15
 +
|list15 = List15
 +
|group16 = Group16
 +
|list16 = List16
 +
|group17 = Group17
 +
|list17 = List17
 +
|group18 = Group18
 +
|list18 = List18
 +
|group19 = Group19
 +
|list19 = List19
 +
|group20 = Group20
 +
|list20 = List20
 
}}
 
}}
 
{{Navbox/sandbox
 
{{Navbox/sandbox
|name = Navbox/testcases
+
|name = Navbox/sandbox/test
 
|state = uncollapsed
 
|state = uncollapsed
|title = Multiple subgroups with "groupwidth = 7em"
+
|title = "basestyle = background:red;color:white;" Test
 +
|basestyle = background:red;color:white;
 +
 
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
 
|group1 = Group1
 
|group1 = Group1
|list1 =  
+
|list1 = List1
{{Navbox/sandbox|child
+
|group2 = Group2
  |name = Navbox/testcases
+
|list2 = List2
  |state = uncollapsed
+
|group3 = Group3
  |groupstyle = width:7em;
+
|list3 = List3
  |liststyle = width:auto;
+
}}
 +
 
 +
==Group width tests==
 +
{{Navbox/sandbox
 +
|name = Navbox/testcases
 +
|state = uncollapsed
 +
|title = Groupwidth = 10em Test
 +
|groupstyle = width:10em;
 +
|liststyle = width:auto;
 +
|above = Above
 +
|below = Below
  
  |group1 = Group1
+
|group1 = Group1
  |list1 = List1, test, test, test, test, test, test
+
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
  |group2 = Group2
 
  |list2 = List2, test, test, test, test, test, test
 
  |group3 = Group3
 
  |list3 = List3, test, test, test, test, test, test
 
}}
 
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
 
|group3 = Group3
 
|group3 = Group3
|list3 =
+
|list3 = List3
{{Navbox/sandbox|child
+
}}
  |name = Navbox/testcases
 
  |state = uncollapsed
 
  |groupstyle = width:7em;
 
  |liststyle = width:auto;
 
 
 
  |group1 = Group1
 
  |list1 = List1, test, test, test, test, test, test
 
  |group2 = Group2
 
  |list2 = List2, test, test, test, test, test, test
 
  |group3 = Group3
 
  |list3 = List3, test, test, test, test, test, test
 
}}
 
|group4 = Group4
 
|list4 = List4
 
}}
 
 
 
===Using new ''groupwidth'' parameter===
 
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Groupwidth = 10em Test
 
|title = Groupwidth = 10em Test
|groupwidth=10em
+
|groupstyle = width:10em;
 +
|liststyle = width:auto;
 +
|imagestyle = width:1px;
 +
 
 +
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
 +
 
|group1 = Group1
 
|group1 = Group1
 
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
 
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
Line 810: Line 905:
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Groupwidth = 10em Test
 
|title = Groupwidth = 10em Test
|groupwidth=10em
+
|groupstyle = width:10em;
|imagestyle = width:1px;
+
|liststyle = width:auto;
|image = [[File:Navball.png|100px]]
 
|above = Above
 
|below = Below
 
|group1 = Group1
 
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
 
|group2 = Group2
 
|list2 = List2
 
|group3 = Group3
 
|list3 = List3
 
}}
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|title = Groupwidth = 10em Test
 
|groupwidth=10em
 
 
|imageleftstyle = width:1px;
 
|imageleftstyle = width:1px;
  
|imageleft = [[File:Navball.png|100px]]
+
|imageleft = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 844: Line 924:
 
|state = uncollapsed
 
|state = uncollapsed
 
|title = Groupwidth = 10em Test
 
|title = Groupwidth = 10em Test
|groupwidth=10em
+
|groupstyle = width:10em;
 +
|liststyle = width:auto;
 
|imagestyle = width:1px;
 
|imagestyle = width:1px;
 
|imageleftstyle = width:1px;
 
|imageleftstyle = width:1px;
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
|imageleft = [[File:Navball.png|100px]]
+
|imageleft = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 871: Line 952:
 
   |name = Navbox/testcases
 
   |name = Navbox/testcases
 
   |state = uncollapsed
 
   |state = uncollapsed
   |groupwidth=7em
+
   |groupstyle = width:7em;
 +
  |liststyle = width:auto;
 +
 
 
   |group1 = Group1
 
   |group1 = Group1
 
   |list1 = List1, test, test, test, test, test, test
 
   |list1 = List1, test, test, test, test, test, test
Line 886: Line 969:
 
   |name = Navbox/testcases
 
   |name = Navbox/testcases
 
   |state = uncollapsed
 
   |state = uncollapsed
   |groupwidth=7em
+
   |groupstyle = width:7em;
 +
  |liststyle = width:auto;
 +
 
 
   |group1 = Group1
 
   |group1 = Group1
 
   |list1 = List1, test, test, test, test, test, test
 
   |list1 = List1, test, test, test, test, test, test
Line 898: Line 983:
 
}}
 
}}
  
==Navbar and state tests==
+
===Using new ''groupwidth'' parameter===
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = plain
+
|state = uncollapsed
|title = "state = plain" Test
+
|title = Groupwidth = 10em Test
|image = [[File:Navball.png|100px]]
+
|groupwidth=10em
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
 
 
|group1 = Group1
 
|group1 = Group1
|list1 = List1
+
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
Line 917: Line 1,001:
 
|name = Navbox/testcases
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|state = uncollapsed
|navbar = plain
+
|title = Groupwidth = 10em Test
|title = "navbar = plain" Test
+
|groupwidth=10em
|image = [[File:Navball.png|100px]]
+
|imagestyle = width:1px;
 +
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
 
 
|group1 = Group1
 
|group1 = Group1
|list1 = List1
+
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
Line 932: Line 1,016:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = plain
+
|state = uncollapsed
|navbar = plain
+
|title = Groupwidth = 10em Test
|title = "state = plain" and "navbar = plain" Test
+
|groupwidth=10em
|image = [[File:Navball.png|100px]]
+
|imageleftstyle = width:1px;
 +
 
 +
|imageleft = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
 
|group1 = Group1
 
|group1 = Group1
|list1 = List1
+
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
Line 948: Line 1,034:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = off
+
|state = uncollapsed
|title = "state = off" Test
+
|title = Groupwidth = 10em Test
|image = [[File:Navball.png|100px]]
+
|groupwidth=10em
 +
|imagestyle = width:1px;
 +
|imageleftstyle = width:1px;
 +
|image = [[File:Placeholder.svg|100px]]
 +
|imageleft = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
 
|group1 = Group1
 
|group1 = Group1
|list1 = List1
+
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
Line 964: Line 1,054:
 
|name = Navbox/testcases
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|state = uncollapsed
|navbar = off
+
|title = Multiple subgroups with "groupwidth = 7em"
|title = "navbar = off" Test
 
|image = [[File:Navball.png|100px]]
 
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
 
|group1 = Group1
 
|group1 = Group1
|list1 = List1
+
|list1 =
 +
{{Navbox/sandbox|child
 +
  |name = Navbox/testcases
 +
  |state = uncollapsed
 +
  |groupwidth=7em
 +
  |group1 = Group1
 +
  |list1 = List1, test, test, test, test, test, test
 +
  |group2 = Group2
 +
  |list2 = List2, test, test, test, test, test, test
 +
  |group3 = Group3
 +
  |list3 = List3, test, test, test, test, test, test
 +
}}
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
 
|group3 = Group3
 
|group3 = Group3
|list3 = List3
+
|list3 =
}}
+
{{Navbox/sandbox|child
{{Navbox/sandbox
+
  |name = Navbox/testcases
 +
  |state = uncollapsed
 +
  |groupwidth=7em
 +
  |group1 = Group1
 +
  |list1 = List1, test, test, test, test, test, test
 +
  |group2 = Group2
 +
  |list2 = List2, test, test, test, test, test, test
 +
  |group3 = Group3
 +
  |list3 = List3, test, test, test, test, test, test
 +
}}
 +
|group4 = Group4
 +
|list4 = List4
 +
}}
 +
 
 +
==Navbar and state tests==
 +
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = off
+
|state = plain
|navbar = plain
+
|title = "state = plain" Test
|title = "state = off" and "navbar = plain" Test
+
|image = [[File:Placeholder.svg|100px]]
|image = [[File:Navball.png|100px]]
 
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 995: Line 1,108:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = plain
+
|state = uncollapsed
|navbar = off
+
|navbar = plain
|title = "state = plain" and "navbar = off" Test
+
|title = "navbar = plain" Test
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 1,011: Line 1,124:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = off
+
|state = plain
|navbar = off
+
|navbar = plain
|title = "state = off" and "navbar = off" Test
+
|title = "state = plain" and "navbar = plain" Test
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 1,026: Line 1,139:
 
}}
 
}}
 
{{Navbox/sandbox
 
{{Navbox/sandbox
|state = uncollapsed
+
|name = Navbox/testcases
|title = Missing "name" parameter
+
|state = off
|image = [[File:Navball.png|100px]]
+
|title = "state = off" Test
 +
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 1,039: Line 1,153:
 
|list3 = List3
 
|list3 = List3
 
}}
 
}}
 
==Titlegroup tests==
 
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|state = uncollapsed
|title = Simple Titlegroup Test
+
|navbar = off
|titlegroup = Titlegroup
+
|title = "navbar = off" Test
 +
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 1,058: Line 1,171:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = uncollapsed
+
|state = off
|title = Titlegroup Test with Image
+
|navbar = plain
|image = [[File:Navball.png|100px]]
+
|title = "state = off" and "navbar = plain" Test
|titlegroup = Titlegroup
+
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 1,074: Line 1,187:
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = uncollapsed
+
|state = plain
|title = </span><div style="float:right;width:0px;padding:1px;"></div><div style="float:right;width:10em;padding:0em 1em;">&nbsp;</div><span style="font-size:110%;">Titlegroup, group width = 10em, with Centered Title
+
|navbar = off
|image = [[File:Navball.png|100px]]
+
|title = "state = plain" and "navbar = off" Test
|groupstyle = width:10em;
+
|image = [[File:Placeholder.svg|100px]]
|liststyle = width:auto;
+
|above = Above
|titlestyle = width:auto;
 
|imagestyle = width:1px;
 
|titlegroup = Titlegroup
 
|above = Above
 
 
|below = Below
 
|below = Below
  
 
|group1 = Group1
 
|group1 = Group1
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
+
|list1 = List1
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
Line 1,092: Line 1,201:
 
|list3 = List3
 
|list3 = List3
 
}}
 
}}
 
 
==Missing parameter tests==
 
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
|state = uncollapsed
+
|state = off
|title = Missing List1 Test
+
|navbar = off
|image = [[File:Navball.png|100px]]
+
|title = "state = off" and "navbar = off" Test
 +
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
 +
|group1 = Group1
 +
|list1 = List1
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
Line 1,109: Line 1,218:
 
}}
 
}}
 
{{Navbox/sandbox
 
{{Navbox/sandbox
|name = Navbox/testcases
 
 
|state = uncollapsed
 
|state = uncollapsed
|title = Missing List1 and List2 Test
+
|title = Missing "name" parameter
|image = [[File:Navball.png|100px]]
+
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
 +
|group1 = Group1
 +
|list1 = List1
 +
|group2 = Group2
 +
|list2 = List2
 
|group3 = Group3
 
|group3 = Group3
 
|list3 = List3
 
|list3 = List3
 
}}
 
}}
 +
 +
==Titlegroup tests==
 
{{Navbox/sandbox
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|state = uncollapsed
|title = No Groups/Lists
+
|title = Simple Titlegroup Test
 +
|titlegroup = Titlegroup
 
|above = Above
 
|above = Above
|below = Below
 
}}
 
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|image = [[File:Navball.png|100px]]
 
|above = No title (this is the Above pane)
 
 
|below = Below
 
|below = Below
  
Line 1,143: Line 1,251:
 
|name = Navbox/testcases
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|state = uncollapsed
|above = No Groups/Lists/Title (this is the Above pane)
+
|title = Titlegroup Test with Image
|below = Below
+
|image = [[File:Placeholder.svg|100px]]
}}
+
|titlegroup = Titlegroup
{{Navbox/sandbox
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|title = Nothing but title
 
}}
 
 
 
==Row striping tests==
 
{{Navbox/sandbox
 
|name = CapitalR/Navbox/test
 
|state = uncollapsed
 
|title = Striping Test with "evenodd = swap"
 
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
Line 1,165: Line 1,262:
 
|list2 = List2
 
|list2 = List2
 
|group3 = Group3
 
|group3 = Group3
|list3 = {{Navbox/sandbox|child
+
|list3 = List3
|group1 = Group3.1
+
}}
|list1 = List3.1
+
{{Void|The next test case is really a bit of a horrible hack, and is currently broken.  I have decided that it is not worth the time to diagnose at present, as it feels like it's out of scope and not terribly important that it doesn't work here. It feels like the sort of thing that should never really be used in production anyway, as a slight change in wind direction could break it!  --Murph 30 May 2015}}
|group2 = Group3.2
+
{{Void|Navbox/sandbox
|list2 = List3.2
+
|name = Navbox/testcases
|group3 = Group4.3
+
|state = uncollapsed
|list3 = List4.3
+
|title = </span><div style="float:right;width:0px;padding:1px;"></div><div style="float:right;width:10em;padding:0em 1em;">&nbsp;</div><span style="font-size:110%;">Titlegroup, group width = 10em, with Centered Title
}}
+
|image = [[File:Placeholder.svg|100px]]
 +
|groupstyle = width:10em;
 +
|liststyle = width:auto;
 +
|titlestyle = width:auto;
 +
|imagestyle = width:1px;
 +
|titlegroup = Titlegroup
 +
|above = Above
 +
|below = Below
  
|group4 = Group4
+
|group1 = Group1
|list4 = {{Navbox/sandbox|child
+
|list1 = List1, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test
|evenodd = swap
+
|group2 = Group2
|group1 = Group4.1
+
|list2 = List2
|list1 = List4.1
+
|group3 = Group3
|group2 = Group4.2
+
|list3 = List3
|list2 = List4.2
+
}}
|group3 = Group4.3
 
|list3 = List4.3
 
}}
 
  
|group5 = Group5
 
|list5 = List5
 
}}
 
  
 +
==Missing parameter tests==
 
{{Navbox/sandbox
 
{{Navbox/sandbox
|name = CapitalR/Navbox/test
+
|name = Navbox/testcases
 
|state = uncollapsed
 
|state = uncollapsed
|title = Striping Test 2
+
|title = Missing List1 Test
 +
|image = [[File:Placeholder.svg|100px]]
 
|above = Above
 
|above = Above
 
|below = Below
 
|below = Below
  
|group1 = Group1
 
|list1 = List1
 
 
|group2 = Group2
 
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
 
|group3 = Group3
 
|group3 = Group3
|list3 = {{Navbox/sandbox|child
+
|list3 = List3
|group1 = Group3.1
+
}}
|list1 = {{Navbox/sandbox|child
+
{{Navbox/sandbox
  |group1 = Group3.1.1
+
|name = Navbox/testcases
  |list1 = Group3.1.1
+
|state = uncollapsed
  |group2 = Group3.1.2
+
|title = Missing List1 and List2 Test
  |list2 = Group3.1.2
+
|image = [[File:Placeholder.svg|100px]]
  |group3 = Group3.1.3
+
|above = Above
  |list3 = List3.1.3
+
|below = Below
  }}
 
|group2 = Group3.2
 
|list2 = {{Navbox/sandbox|child
 
  |evenodd = swap
 
  |group1 = Group3.2.1
 
  |list1 = Group3.2.1
 
  |group2 = Group3.2.2
 
  |list2 = Group3.2.2
 
  |group3 = Group3.2.3
 
  |list3 = List3.2.3
 
  }}
 
|group3 = Group3.3.1
 
|list3 = List3.3.1
 
}}
 
  
|group4 = Group4
+
|group3 = Group3
|list4 = {{Navbox/sandbox|child
+
|list3 = List3
|evenodd = swap
+
}}
|group1 = Group4.1
+
{{Navbox/sandbox
|list1 = {{Navbox/sandbox|child
+
|name = Navbox/testcases
  |evenodd = swap
+
|state = uncollapsed
  |group1 = Group4.1.1
+
|title = No Groups/Lists
  |list1 = Group4.1.1
+
|above = Above
  |group2 = Group4.1.2
+
|below = Below
  |list2 = Group4.1.2
 
  |group3 = Group4.1.3
 
  |list3 = List4.1.3
 
  }}
 
|group2 = Group4.2
 
|list2 = {{Navbox/sandbox|child
 
  |group1 = Group4.2.1
 
  |list1 = Group4.2.1
 
  |group2 = Group4.2.2
 
  |list2 = Group4.2.2
 
  |group3 = Group4.2.3
 
  |list3 = List4.2.3
 
  }}
 
|group3 = Group4.3.1
 
|list3 = List4.3.1
 
|group4 = Group4.4.1
 
|list4 = List4.4.1
 
}}
 
 
}}
 
}}
 
+
{{Navbox/sandbox
 
+
|name = Navbox/testcases
==Additional tests==
+
|state = uncollapsed
<div class="references-small">
+
|image = [[File:Placeholder.svg|100px]]
# Test margin with references
+
|above = No title (this is the Above pane)
# Second reference
 
# Third reference
 
</div>
 
{{Navbox/sandbox
 
|name = Navbox/sandbox
 
|title = Unlimited Groups/Lists test
 
|above = Above
 
 
|below = Below
 
|below = Below
  
Line 1,273: Line 1,332:
 
|group3 = Group3
 
|group3 = Group3
 
|list3 = List3
 
|list3 = List3
|group4 = Group4
+
}}
|list4 = List4
+
{{Navbox/sandbox
|group5 = Group5
+
|name = Navbox/testcases
|list5 = List5
+
|state = uncollapsed
|group6 = Group6
+
|above = No Groups/Lists/Title (this is the Above pane)
|list6 = List6
+
|below = Below
|group7 = Group7
+
}}
|list7 = List7
+
{{Navbox/sandbox
|group8 = Group8
+
|name = Navbox/testcases
|list8 = List8
+
|state = uncollapsed
|group9 = Group9
+
|title = Nothing but title
|list9 = List9
+
}}
|group10 = Group10
+
 
|list10 = List10
+
==Row striping tests==
|group11 = Group11
+
{{Navbox/sandbox
|list11 = List11
+
|name = CapitalR/Navbox/test
|group12 = Group12
+
|state = uncollapsed
|list12 = List12
+
|title = Striping Test with "evenodd = swap"
|group13 = Group13
+
|above = Above
|list13 = List13
+
|below = Below
|group14 = Group14
+
 
|list14 = List14
+
|group1 = Group1
|group15 = Group15
+
|list1 = List1
|list15 = List15
+
|group2 = Group2
|group16 = Group16
+
|list2 = List2
|list16 = List16
+
|group3 = Group3
|group17 = Group17
+
|list3 = {{Navbox/sandbox|child
|list17 = List17
+
|group1 = Group3.1
|group18 = Group18
+
|list1 = List3.1
|list18 = List18
+
|group2 = Group3.2
|group19 = Group19
+
|list2 = List3.2
|list19 = List19
+
|group3 = Group4.3
|list20 =
+
|list3 = List4.3
{{Navbox/sandbox|child
+
}}
  |evenodd = swap
+
 
  |group1 = Group20
+
|group4 = Group4
  |list1 = List20
+
|list4 = {{Navbox/sandbox|child
  |group2 = Group21
+
|evenodd = swap
  |list2 = List21
+
|group1 = Group4.1
  |group3 = Group22
+
|list1 = List4.1
  |list3 = List22
+
|group2 = Group4.2
  |group4 = Group23
+
|list2 = List4.2
  |list4 = List23
+
|group3 = Group4.3
  |group5 = Group24
+
|list3 = List4.3
  |list5 = List24
+
}}
  |group6 = Group25
+
 
  |list6 = List25
+
|group5 = Group5
  |group7 = Group26
+
|list5 = List5
  |list7 = List26
+
}}
  |group8 = Group27
+
 
  |list8 = List27
+
{{Navbox/sandbox
  |group9 = Group28
+
|name = CapitalR/Navbox/test
  |list9 = List28
+
|state = uncollapsed
  |group10 = Group29
+
|title = Striping Test 2
  |list10 = List29
+
|above = Above
  |group11 = Group30
+
|below = Below
  |list11 = List30
+
 
  |group12 = Group31
+
|group1 = Group1
  |list12 = List31
+
|list1 = List1
  |group13 = Group32
+
|group2 = Group2
  |list13 = List32
+
|list2 = List2
  |group14 = Group33
+
|group3 = Group3
  |list14 = List33
+
|list3 = {{Navbox/sandbox|child
  |group15 = Group34
+
|group1 = Group3.1
   |list15 = List34
+
|list1 = {{Navbox/sandbox|child
   |group16 = Group35
+
   |group1 = Group3.1.1
   |list16 = List35
+
   |list1 = Group3.1.1
   |group17 = Group36
+
   |group2 = Group3.1.2
   |list17 = List36
+
   |list2 = Group3.1.2
   |group18 = Group37
+
   |group3 = Group3.1.3
   |list18 = List37
+
   |list3 = List3.1.3
  |group19 = Group38
+
   }}
  |list19 = List38
+
|group2 = Group3.2
  |list20 =  
+
|list2 = {{Navbox/sandbox|child
{{Navbox/sandbox|child
+
  |evenodd = swap
  |group1 = Group39
+
  |group1 = Group3.2.1
  |list1 = List39
+
  |list1 = Group3.2.1
  |group2 = Group40
+
  |group2 = Group3.2.2
  |list2 = List40
+
  |list2 = Group3.2.2
  |group3 = Group41
+
  |group3 = Group3.2.3
  |list3 = List41
+
  |list3 = List3.2.3
  |group4 = Group42
+
  }}
  |list4 = List42
+
|group3 = Group3.3.1
  |group5 = Group43
+
|list3 = List3.3.1
  |list5 = List43
+
}}
  |group6 = Group44
+
 
  |list6 = List44
+
|group4 = Group4
  |group7 = Group45
+
|list4 = {{Navbox/sandbox|child
  |list7 = List45
+
|evenodd = swap
  |group8 = Group46
+
|group1 = Group4.1
  |list8 = List46
+
|list1 = {{Navbox/sandbox|child
  |group9 = Group47
+
  |evenodd = swap
  |list9 = List47
+
  |group1 = Group4.1.1
  |group10 = Group48
+
  |list1 = Group4.1.1
  |list10 = List48
+
  |group2 = Group4.1.2
  |group11 = Group49
+
  |list2 = Group4.1.2
  |list11 = List49
+
  |group3 = Group4.1.3
  |group12 = Group50
+
  |list3 = List4.1.3
  |list12 = List50
+
  }}
  |group13 = Group51
+
|group2 = Group4.2
  |list13 = List51
+
|list2 = {{Navbox/sandbox|child
  |group14 = Group52
+
  |group1 = Group4.2.1
  |list14 = List52
+
  |list1 = Group4.2.1
  |group15 = Group53
+
  |group2 = Group4.2.2
  |list15 = List53
+
  |list2 = Group4.2.2
  |group16 = Group54
+
  |group3 = Group4.2.3
  |list16 = List54
+
  |list3 = List4.2.3
  |group17 = Group55
 
  |list17 = List55
 
  |group18 = Group56
 
  |list18 = List56
 
  |group19 = Group57
 
  |list19 = List57
 
  |group20 = Group58
 
  |list20 = List58
 
 
   }}
 
   }}
 +
|group3 = Group4.3.1
 +
|list3 = List4.3.1
 +
|group4 = Group4.4.1
 +
|list4 = List4.4.1
 
  }}
 
  }}
 
}}
 
}}
  
{{Navbox/sandbox|none
 
|name = Navbox/testcases
 
|state = uncollapsed
 
|title = "border = none"
 
|above = Above
 
|below = Below
 
  
|group1 = Group1
+
==Additional tests==
|list1 = List1
+
<div class="references-small">
|group2 = Group2
+
# Test margin with references
 +
# Second reference
 +
# Third reference
 +
</div>
 +
{{Navbox/sandbox
 +
|name = Navbox/sandbox
 +
|title = Unlimited Groups/Lists test
 +
|above = Above
 +
|below = Below
 +
 
 +
|group1 = Group1
 +
|list1 = List1
 +
|group2 = Group2
 
|list2 = List2
 
|list2 = List2
 
|group3 = Group3
 
|group3 = Group3
 
|list3 = List3
 
|list3 = List3
}}
+
|group4 = Group4
 
+
|list4 = List4
==Using Navbox with columns / Navbox with collapsible groups==
+
|group5 = Group5
{{Navbox with columns/sandbox
+
|list5 = List5
|name = Navbox/testcases
+
|group6 = Group6
|state = uncollapsed
+
|list6 = List6
|title = Navbox with columns simple test
+
|group7 = Group7
 
+
|list7 = List7
|colstyle = text-align:center;
+
|group8 = Group8
|fullwidth = true;
+
|list8 = List8
 
+
|group9 = Group9
|colwidth = 15%
+
|list9 = List9
|col1width = 12%
+
|group10 = Group10
|col2width = 13%
+
|list10 = List10
 
+
|group11 = Group11
|col1 = Col1
+
|list11 = List11
|col2 = Col2
+
|group12 = Group12
|col3 = Col3
+
|list12 = List12
|col4 = Col4
+
|group13 = Group13
|col5 = Col5
+
|list13 = List13
|col6 = Col6
+
|group14 = Group14
|col7 = Col7
+
|list14 = List14
}}
+
|group15 = Group15
{{Navbox with columns/sandbox
+
|list15 = List15
|name = Navbox/testcases
+
|group16 = Group16
|state = uncollapsed
+
|list16 = List16
|title = Navbox with columns, single header test
+
|group17 = Group17
 
+
|list17 = List17
|colstyle = text-align:center;
+
|group18 = Group18
|colwidth = 15%
+
|list18 = List18
|col1width = 12%
+
|group19 = Group19
|col2width = 13%
+
|list19 = List19
 
+
|list20 =
|col1headercolspan = 2
+
{{Navbox/sandbox|child
|col4headercolspan = 3
+
  |evenodd = swap
 
+
  |group1 = Group20
|col1header = Col1Header (span=2)
+
  |list1 = List20
|col3header = Col3Header
+
  |group2 = Group21
|col4header = Col4Header (span=3)
+
  |list2 = List21
|col7header = Col7Header
+
  |group3 = Group22
 
+
  |list3 = List22
|col1 = Col1
+
  |group4 = Group23
|col2 = Col2
+
  |list4 = List23
|col3 = Col3
+
  |group5 = Group24
|col4 = Col4
+
  |list5 = List24
|col5 = Col5
+
  |group6 = Group25
|col6 = Col6
+
  |list6 = List25
|col7 = Col7
+
  |group7 = Group26
}}
+
  |list7 = List26
{{Navbox with columns/sandbox
+
  |group8 = Group27
|name = Navbox/testcases
+
  |list8 = List27
|state = uncollapsed
+
  |group9 = Group28
|title = Navbox with columns, multi-level header test
+
  |list9 = List28
 
+
  |group10 = Group29
|colstyle = text-align:center;
+
  |list10 = List29
|colwidth = 15%
+
  |group11 = Group30
|col1width = 12%
+
  |list11 = List30
|col2width = 13%
+
  |group12 = Group31
 
+
  |list12 = List31
|col1headercolspan = 2
+
  |group13 = Group32
|col3headerrowspan = 2
+
  |list13 = List32
|col4headercolspan = 3
+
  |group14 = Group33
|col7headerrowspan = 2
+
  |list14 = List33
 
+
  |group15 = Group34
|col1header = Col1Header
+
  |list15 = List34
|col1header2 = Col1Header2
+
  |group16 = Group35
|col2header2 = Col2Header2
+
  |list16 = List35
|col3header = Col3Header
+
  |group17 = Group36
|col4header = Col4Header
+
  |list17 = List36
|col4header2 = Col4Header2
+
  |group18 = Group37
|col5header2 = Col5Header2
+
  |list18 = List37
|col6header2 = Col6Header2
+
  |group19 = Group38
|col7header = Col7Header
+
  |list19 = List38
 
+
  |list20 =
|col1 = Col1
+
{{Navbox/sandbox|child
|col2 = Col2
+
  |group1 = Group39
|col3 = Col3
+
  |list1 = List39
|col4 = Col4
+
  |group2 = Group40
|col5 = Col5
+
  |list2 = List40
|col6 = Col6
+
  |group3 = Group41
|col7 = Col7
+
  |list3 = List41
}}
+
  |group4 = Group42
{{Navbox with columns/sandbox
+
  |list4 = List42
|name = Navbox/testcases
+
  |group5 = Group43
|state = uncollapsed
+
  |list5 = List43
|title = Navbox with columns nested in itself
+
  |group6 = Group44
|colstyle = text-align:center;
+
  |list6 = List44
 
+
  |group7 = Group45
|col1width = 33%
+
  |list7 = List45
|col2width = 17%
+
  |group8 = Group46
|col3width = 33%
+
  |list8 = List46
|col4width = 17%
+
  |group9 = Group47
 +
  |list9 = List47
 +
  |group10 = Group48
 +
  |list10 = List48
 +
  |group11 = Group49
 +
  |list11 = List49
 +
  |group12 = Group50
 +
  |list12 = List50
 +
  |group13 = Group51
 +
  |list13 = List51
 +
  |group14 = Group52
 +
  |list14 = List52
 +
  |group15 = Group53
 +
  |list15 = List53
 +
  |group16 = Group54
 +
  |list16 = List54
 +
  |group17 = Group55
 +
  |list17 = List55
 +
  |group18 = Group56
 +
  |list18 = List56
 +
  |group19 = Group57
 +
  |list19 = List57
 +
  |group20 = Group58
 +
  |list20 = List58
 +
  }}
 +
}}
 +
}}
  
|col1header = Col1Header
+
{{Navbox/sandbox|none
|col2header = Col2Header
+
|name = Navbox/testcases
|col3header = Col3Header
+
|state = uncollapsed
|col4header = Col4Header
+
|title = "border = none"
 +
|above = Above
 +
|below = Below
  
|col1 = {{Navbox with columns/sandbox|child
+
|group1 = Group1
  |colwidth = 50%
+
|list1 = List1
  |colstyle = text-align:center;
+
|group2 = Group2
 +
|list2 = List2
 +
|group3 = Group3
 +
|list3 = List3
 +
}}
  
  |col1header = Col1.1Header
+
==Using Navbox with columns / Navbox with collapsible groups==
  |col2header = Col1.2Header
+
{{Navbox with columns/sandbox
 +
|name = Navbox/testcases
 +
|state = uncollapsed
 +
|title = Navbox with columns simple test
  
  |col1 = Col1.1
+
|colstyle = text-align:center;
  |col2 = Col1.2
+
|fullwidth = true;
}}
+
 
 +
|colwidth = 15%
 +
|col1width = 12%
 +
|col2width = 13%
  
 +
|col1 = Col1
 
|col2 = Col2
 
|col2 = Col2
 +
|col3 = Col3
 +
|col4 = Col4
 +
|col5 = Col5
 +
|col6 = Col6
 +
|col7 = Col7
 +
}}
 +
{{Navbox with columns/sandbox
 +
|name = Navbox/testcases
 +
|state = uncollapsed
 +
|title = Navbox with columns, single header test
  
|col3 = {{Navbox with columns/sandbox|child
+
|colstyle = text-align:center;
  |colwidth = 33%
+
|colwidth = 15%
  |colstyle = text-align:center;
+
|col1width = 12%
 +
|col2width = 13%
  
  |col1header = Col3.1Header
+
|col1headercolspan = 2
  |col2header = Col3.2Header
+
|col4headercolspan = 3
  |col3header = Col3.3Header
 
  
  |col1 = Col3.1
+
|col1header = Col1Header (span=2)
  |col2 = Col3.2
+
|col3header = Col3Header
  |col3 = Col3.3
+
|col4header = Col4Header (span=3)
}}
+
|col7header = Col7Header
  
 +
|col1 = Col1
 +
|col2 = Col2
 +
|col3 = Col3
 
|col4 = Col4
 
|col4 = Col4
 +
|col5 = Col5
 +
|col6 = Col6
 +
|col7 = Col7
 
}}
 
}}
 +
{{Navbox with columns/sandbox
 +
|name = Navbox/testcases
 +
|state = uncollapsed
 +
|title = Navbox with columns, multi-level header test
 +
 +
|colstyle = text-align:center;
 +
|colwidth = 15%
 +
|col1width = 12%
 +
|col2width = 13%
  
== Lists with in-list images ==
+
|col1headercolspan = 2
{{Navbox/sandbox
+
|col3headerrowspan = 2
|name = {{FULLPAGENAME}}
+
|col4headercolspan = 3
|title = Example
+
|col7headerrowspan = 2
| listclass = hlist
+
 
| group1 = group1
+
|col1header = Col1Header
| list1 = [[File:Placeholder.svg|right|20px]]
+
|col1header2 = Col1Header2
* item1
+
|col2header2 = Col2Header2
* item2
+
|col3header = Col3Header
* item3
+
|col4header = Col4Header
| group2 = group2
+
|col4header2 = Col4Header2
| list2 =
+
|col5header2 = Col5Header2
* item5
+
|col6header2 = Col6Header2
* item6
+
|col7header = Col7Header
* item7
+
 
 +
|col1 = Col1
 +
|col2 = Col2
 +
|col3 = Col3
 +
|col4 = Col4
 +
|col5 = Col5
 +
|col6 = Col6
 +
|col7 = Col7
 
}}
 
}}
{{Navbox/sandbox
+
{{Navbox with columns/sandbox
|navbar = plain
+
|name = Navbox/testcases
|title = Example
+
|state = uncollapsed
| listclass = hlist
+
|title = Navbox with columns nested in itself
| group1 = group1
+
|colstyle = text-align:center;
| list1 = [[File:Placeholder.svg|right|20px]]
+
 
* item1
+
|col1width = 33%
* item2
+
|col2width = 17%
* item3
+
|col3width = 33%
 +
|col4width = 17%
 +
 
 +
|col1header = Col1Header
 +
|col2header = Col2Header
 +
|col3header = Col3Header
 +
|col4header = Col4Header
 +
 
 +
|col1 = {{Navbox with columns/sandbox|child
 +
  |colwidth = 50%
 +
  |colstyle = text-align:center;
 +
 
 +
  |col1header = Col1.1Header
 +
  |col2header = Col1.2Header
 +
 
 +
  |col1 = Col1.1
 +
  |col2 = Col1.2
 +
}}
 +
 
 +
|col2 = Col2
 +
 
 +
|col3 = {{Navbox with columns/sandbox|child
 +
  |colwidth = 33%
 +
  |colstyle = text-align:center;
 +
 
 +
  |col1header = Col3.1Header
 +
  |col2header = Col3.2Header
 +
  |col3header = Col3.3Header
 +
 
 +
  |col1 = Col3.1
 +
  |col2 = Col3.2
 +
  |col3 = Col3.3
 +
}}
 +
 
 +
|col4 = Col4
 +
}}
 +
{{Void|Navbox with collapsible groups/sandbox
 +
|name = Navbox/testcases
 +
|title = Navbox with collapsible groups (conversion of [[Template:Scouting|<span style="color:white">Template:Scouting</span>]])
 +
|titlestyle = background:#7BA05B;color:ivory;
 +
|groupstyle = background:lightgreen;
 +
|listclass = hlist
 +
|selected = {{{1|}}}
 +
 
 +
|group1 = [[:Category:Scouting|The Scouting Movement]]
 +
|abbr1 = movement
 +
|list1 =
 +
* [[Scouting]]
 +
* ''[[Scouting for Boys]]''
 +
* [[Scout method]]
 +
* [[Scout Law]]
 +
* [[Scout Promise]]
 +
* [[Scout Motto]]
 +
* [[Wood Badge]]
 +
* [[Age groups in Scouting and Guiding]]
 +
* [[Cub Scout]]
 +
* [[Boy Scout]]
 +
* [[Rover Scout]]
 +
* [[Brownie (Girl Guides)|Brownie]]
 +
* [[Girl Guiding and Girl Scouting]]
 +
* [[Ranger (Girl Guide)]]
 +
* [[Jamboree (Scouting)|Jamboree]]
 +
* [[Scout Leader]]
 +
* [[World Organization of the Scout Movement|WOSM]]
 +
* [[World Association of Girl Guides and Girl Scouts|WAGGGS]]
 +
* [[Non-aligned Scouting and Scout-like organisations|Non-aligned organisations]]
 +
* [[Scouting controversy and conflict]]
 +
* [[Scouting in popular culture]]
 +
* [[List of Scouts]]
 +
* [[List of highest awards in Scouting]]
 +
 
 +
|group2 = [[:Category:Scouting in the United States|Scouting in the United States]]
 +
|abbr2 = us
 +
|list2 =
 +
* [[Scouting in the United States]]
 +
* [[Girl Scouts of the USA]]
 +
* [[:Category:Local councils of the Girl Scouts of the USA|GSUSA Local Councils]]
 +
* [[Girl Scout levels (USA)]]
 +
* [[Boy Scouts of America]]
 +
* [[Cub Scouting (Boy Scouts of America)|Cub Scouting]]
 +
* [[Boy Scouting (Boy Scouts of America)|Boy Scouting]]
 +
* [[Varsity Scouting (Boy Scouts of America)|Varsity Scouting]]
 +
* [[Venturing (Boy Scouts of America)|Venturing BSA]]
 +
* [[Sea Scouting (Boy Scouts of America)|Sea Scouting]]
 +
* [[Order of the Arrow]]
 +
* [[Advancement and recognition in the Boy Scouts of America|BSA Advancement & recognition]]
 +
* [[Eagle Scout (Boy Scouts of America)|Eagle Scout]]
 +
* [[List of Eagle Scouts (Boy Scouts of America)|Notable Eagle Scouts]]
 +
* [[History of merit badges (Boy Scouts of America)|History of merit badges]]
 +
* [[History of the Boy Scouts of America|History of the BSA]]
 +
* [[Uniform and insignia of the Boy Scouts of America|BSA Uniform & insignia]]
 +
* ''[[Boy Scout Handbook]]''
 +
* [[:Category:Local councils of the Boy Scouts of America|BSA Local Councils]]
 +
* [[Boy Scouts of America membership controversies|BSA membership controversies]]
 +
 
 +
|group3 = [[:Category:Scouting in the United Kingdom|Scouting in the United Kingdom]]
 +
|abbr3= uk
 +
|list3 =
 +
* [[The Scout Association]]
 +
* [[Girlguiding UK]]
 +
* [[Beaver Scouts]]
 +
* [[Cub Section (UK)]]
 +
* [[Venture Scout]]
 +
* [[Explorer Scouts]]
 +
* [[Brownie (Girl Guides)]]
 +
* [[Ranger (Girl Guide)]]
 +
* [[Rainbow (Girl Guides)]]
 +
* [[Scout Network]]
 +
* [[Chief Scout (United Kingdom)]]
 +
* [[Scout Counties]]
 +
* [[Scout District]]
 +
* [[Scout Section (UK)]]
 +
* [[Scout Activity Centre]]
 +
* [[Young Leaders (The Scout Association)|Young Leaders]]
 +
 
 +
|group4 = [[:Category:Scouting pioneers|Founders, pioneers, and notable leaders]]
 +
|abbr4 = founders
 +
|list4 =
 +
* [[Robert Baden-Powell, 1st Baron Baden-Powell|Robert Baden-Powell]]
 +
* [[Olave Baden-Powell]]
 +
* [[Agnes Baden-Powell]]
 +
* [[Daniel Carter Beard]]
 +
* [[William D. Boyce]]
 +
* [[Frederick Russell Burnham]]
 +
* [[George Thomas Coker]]
 +
* [[David Cossgrove]]
 +
* [[Olga Drahonowska-Małkowska]]
 +
* [[Charles Eastman]]
 +
* [[Arthur Rose Eldred]]
 +
* [[William Hillcourt]]
 +
* [[Andrzej Małkowski]]
 +
* [[Ernest Thompson Seton]]
 +
* [[William Alexander Smith (Boys' Brigade)|William A. Smith]]
 +
* [[James E. West (Scouting)|James E. West]]
 +
* [[J. S. Wilson]]
 +
 
 +
|group5 = Prominent places
 +
|abbr5 = places
 +
|list5 =
 +
* [[Baden-Powell House]]
 +
* [[Brownsea Island Scout camp|Brownsea Island]]
 +
* [[Edith Macy Conference Center]]
 +
* [[Foxlease]]
 +
* [[Gilwell Park]]
 +
* [[Kandersteg International Scout Centre|Kandersteg]]
 +
* [[Our Cabaña]]
 +
* [[Our Chalet]]
 +
* [[Pax Hill]]
 +
* [[Pax Lodge]]
 +
* [[Philmont Scout Ranch|Philmont]]
 +
* [[Sangam World Girl Guide/Girl Scout Center|Sangam]]
 +
 
 +
|group6 = Other Scouting articles
 +
|abbr6 = other
 +
|list6 =
 +
* [[:Category:Scouting organizations and associations|Scouting organizations and associations]]
 +
* [[Mafeking Cadet Corps]]
 +
* [[The Scout Association of Hong Kong]]
 +
* [[South African Scout Association]]
 +
* [[Scouts Canada]]
 +
}}
 +
{{Void|Navbox with collapsible groups/sandbox
 +
|name = Navbox/testcases
 +
|title = Navbox, Navbox with columns, and Navbox with collapsible groups together
 +
|listclass = hlist
 +
|selected = {{{1|}}}
 +
 
 +
|group1 = [[:Category:Scouting|The Scouting Movement]]
 +
|abbr1 = movement
 +
|list1 =
 +
* [[Scouting]]
 +
* ''[[Scouting for Boys]]''
 +
* [[Scout method]]
 +
* [[Scout Law]]
 +
* [[Scout Promise]]
 +
* [[Scout Motto]]
 +
* [[Wood Badge]]
 +
* [[Age groups in Scouting and Guiding]]
 +
* [[Cub Scout]]
 +
* [[Boy Scout]]
 +
* [[Rover Scout]]
 +
* [[Brownie (Girl Guides)|Brownie]]
 +
* [[Girl Guiding and Girl Scouting]]
 +
* [[Ranger (Girl Guide)]]
 +
* [[Jamboree (Scouting)|Jamboree]]
 +
* [[Scout Leader]]
 +
* [[World Organization of the Scout Movement|WOSM]]
 +
* [[World Association of Girl Guides and Girl Scouts|WAGGGS]]
 +
* [[Non-aligned Scouting and Scout-like organisations|Non-aligned organisations]]
 +
* [[Scouting controversy and conflict]]
 +
* [[Scouting in popular culture]]
 +
* [[List of Scouts]]
 +
* [[List of highest awards in Scouting]]
 +
 
 +
|list2 = {{Navbox/sandbox|child
 +
|state      = collapsed
 +
|title      = [[French colonial empires|Former French colonies]] in [[Africa]] and the [[Indian Ocean]]
 +
|titlestyle = background#
 +
|groupstyle = background:lavender;
 +
 
 +
|group1 = [[Mahgreb]]
 +
|list1  =
 +
* [[French rule in Algeria|Algeria]]
 +
* [[French Morocco|Morocco]]&nbsp;<small>([[Arguin|Arguin Island]])</small>
 +
* [[History of Tunisia|Tunisia]]
 +
 
 +
|group2 = [[French West Africa]]
 +
|list2  =
 +
* [[History of Côte d'Ivoire#French Period|Côte d'Ivoire]]
 +
* [[French Dahomey|Dahomey]]
 +
* [[French Sudan]]
 +
* [[French Guinea|Guinea]]
 +
* [[History of Mauritania#French colonization and post-colonial history|Mauritania]]
 +
* [[History of Niger#Colonization|Niger]]
 +
* [[History of Senegal|Senegal]]
 +
* [[French Upper Volta|Upper Volta]]
 +
 
 +
|group3 = &nbsp;
 +
|list3  =
 +
* [[French Togoland]]
 +
* [[James Island (The Gambia)|James Island]]
 +
 
 +
|group4 = [[French Equatorial Africa]]
 +
|list4  =
 +
* [[Colonial Chad|Chad]]
 +
* [[History of Gabon|Gabon]]
 +
* [[History of the Republic of the Congo|Middle Congo]]
 +
* [[Oubangui-Chari]]
 +
 
 +
|group5 = [[Comoros]]
 +
|list5  =
 +
* [[Anjouan]]
 +
* [[Grande Comore]]
 +
* [[Mohéli]]
 +
 
 +
|group6 = &nbsp;
 +
|list6  =
 +
* [[History of Djibouti#French interest|French Somaliland (Djibouti)]]
 +
* [[History of Madagascar#French control|Madagascar]]
 +
* [[Mauritius|Ile de France]]
 +
* [[Seychelles]]
 +
}}
 +
 
 +
|group3 = [[:Category:Scouting in the United Kingdom|Scouting in the United Kingdom]]
 +
|abbr3 = uk
 +
|list3 =
 +
* [[The Scout Association]]
 +
* [[Girlguiding UK]]
 +
* [[Beaver Scouts]]
 +
* [[Cub Section (UK)]]
 +
* [[Venture Scout]]
 +
* [[Explorer Scouts]]
 +
* [[Brownie (Girl Guides)]]
 +
* [[Ranger (Girl Guide)]]
 +
* [[Rainbow (Girl Guides)]]
 +
* [[Scout Network]]
 +
* [[Chief Scout (United Kingdom)]]
 +
* [[Scout Counties]]
 +
* [[Scout District]]
 +
* [[Scout Section (UK)]]
 +
* [[Scout Activity Centre]]
 +
* [[Young Leaders (The Scout Association)|Young Leaders]]
 +
 
 +
|list4 = {{Navbox with columns/sandbox|child
 +
|title = Navbox with columns nested in itself
 +
|colstyle = text-align:center;
 +
 
 +
|col1width = 33%
 +
|col2width = 17%
 +
|col3width = 33%
 +
|col4width = 17%
 +
 
 +
|col1header = Col1Header
 +
|col2header = Col2Header
 +
|col3header = Col3Header
 +
|col4header = Col4Header
 +
 
 +
|col1 = {{Navbox with columns/sandbox|child
 +
  |colwidth = 50%
 +
  |colstyle = text-align:center;
 +
 
 +
  |col1header = Col1.1Header
 +
  |col2header = Col1.2Header
 +
 
 +
  |col1 = Col1.1
 +
  |col2 = Col1.2
 +
}}
 +
 
 +
|col2 = Col2
 +
 
 +
|col3 = {{Navbox with columns/sandbox|child
 +
  |colwidth = 33%
 +
  |colstyle = text-align:center;
 +
 
 +
  |col1header = Col3.1Header
 +
  |col2header = Col3.2Header
 +
  |col3header = Col3.3Header
 +
 
 +
  |col1 = Col3.1
 +
  |col2 = Col3.2
 +
  |col3 = Col3.3
 +
}}
 +
 
 +
|col4 = Col4
 +
}}
 +
}}
 +
 
 +
==Span hack==
 +
 
 +
{{Void|Navbox/sandbox
 +
|navbar = plain
 +
|state = {{{state|collapsed}}}
 +
|titlestyle = {{{titlestyle|}}}
 +
|liststyle = padding:0px;font-size:111%;
 +
|listpadding = 0px;
 +
|title=Neil Blaney
 +
|list1=
 +
{{s-start}}
 +
{{s-par|ie/oi}}
 +
{{s-bef|before = [[Neal Blaney]]<br><small>([[Fianna Fáil]])</small>}}
 +
{{s-ttl|title  = [[Fianna Fáil]] [[Teachta Dála]] for [[Donegal East (Dáil Éireann constituency)|Donegal East]]
 +
      |years  = 1948–1961}}
 +
{{s-aft|after  = Constituency abolished}}
 +
{{s-bef|before = New constituency}}
 +
{{s-ttl|title  = [[Fianna Fáil]] [[Teachta Dála]] for [[Donegal North East (Dáil Éireann constituency)|Donegal North East]]
 +
      |years  = 1961–1970}}
 +
{{s-aft|after  = Himself|as=[[Independent Fianna Fáil]] [[Teachta Dála]]}}
 +
{{s-bef|before = Himself|as=[[Fianna Fáil]] [[Teachta Dála]]}}
 +
{{s-ttl|title  = [[Independent Fianna Fáil]] [[Teachta Dála]] for [[Donegal North East (Dáil Éireann constituency)|Donegal North East]]
 +
      |years  = 1970–1977}}
 +
{{s-aft|after  = Constituency abolished}}
 +
{{s-bef|before = New constituency}}
 +
{{s-ttl|title  = [[Independent Fianna Fáil]] [[Teachta Dála]] for [[Donegal (Dáil Éireann constituency)|Donegal]]
 +
      |years  = 1977–1981}}
 +
{{s-aft|after  = Constituency abolished}}
 +
{{s-bef|before = New constituency}}
 +
{{s-ttl|title  = [[Independent Fianna Fáil]] [[Teachta Dála]] for [[Donegal North East (Dáil Éireann constituency)|Donegal North East]]
 +
      |years  = 1981–1995}}
 +
{{s-aft|after  = [[Cecilia Keaveney]]<br><small>([[Fianna Fáil]])</small>}}
 +
{{s-off}}
 +
{{s-bef|before = [[Michael Keyes]]}}
 +
{{s-ttl|title  = [[Minister for Posts and Telegraphs (Ireland)|Minister for Posts and Telegraphs]]
 +
      |years  = 1957}}
 +
{{s-aft|after  = [[John Ormonde]]}}
 +
{{s-bef|before = [[Patrick Smith (politician)|Paddy Smith]]}}
 +
{{s-ttl|title  = [[Minister for the Environment, Heritage and Local Government|Minister for Local Government]]
 +
      |years  = 1957–1966}}
 +
{{s-aft|after  = [[Kevin Boland]]}}
 +
{{s-bef|before = [[Charles Haughey]]}}
 +
{{s-ttl|title  = [[Minister for Agriculture, Fisheries and Food (Ireland)|Minister for Agriculture and Fisheries]]
 +
      |years  = 1966–1970}}
 +
{{s-aft|after  = [[Jim Gibbons (Irish politician)|Jim Gibbons]]}}
 +
{{s-hon}}
 +
{{s-bef|before = [[Oliver J. Flanagan]]}}
 +
{{s-ttl|title  = [[Baby of the House#Baby of the Dáil|Baby of the Dáil]]
 +
      |years  = 1948–1949}}
 +
{{s-aft|after  = [[William J. Murphy (Labour politician)|William J. Murphy]]}}
 +
{{s-bef|before = [[Oliver J. Flanagan]]}}
 +
{{s-ttl|title  = [[Father of the Dáil]]
 +
      |years  = 1987–1995}}
 +
{{s-aft|after  = [[Séamus Pattison]]}}
 +
{{s-end}}
 +
}}
 +
 
 +
== Lists with in-list images ==
 +
{{Navbox/sandbox
 +
|name = {{FULLPAGENAME}}
 +
|title = Example
 +
| listclass = hlist
 +
| group1 = group1
 +
| list1 = [[File:Placeholder.svg|right|20px]]
 +
* item1
 +
* item2
 +
* item3
 
| group2 = group2
 
| group2 = group2
| list2 =
+
| list2 =
* item5
+
* item5
* item6
+
* item6
* item7
+
* item7
}}
+
}}
 
+
{{Navbox/sandbox
==Horizontal/plain lists==
+
|navbar = plain
{{Navbox/sandbox
+
|title = Example
| name = Torchwood
+
| listclass = hlist
| title = hlist & plainlist
+
| group1 = group1
| aboveclass = hlist
+
| list1 = [[File:Placeholder.svg|right|20px]]
| listclass = hlist
+
* item1
| belowclass = hlist
+
* item2
| imageclass = plainlist
+
* item3
 
+
| group2 = group2
| imageleft =
+
| list2 =
* [[File:Ambox content.png|alt=|link=]]
+
* item5
* [[File:Ambox notice.png|alt=|link=]]
+
* item6
| image =
+
* item7
* [[File:Ambox content.png|alt=|link=]]
+
}}
* [[File:Ambox notice.png|alt=|link=]]
+
 
 
+
==Horizontal/plain lists==
| above =  
+
{{Navbox/sandbox
* Item 1
+
| name = Torchwood
** Item 1.1
+
| title = hlist & plainlist
** Item 1.2
+
| aboveclass = hlist
* Item 2
+
| listclass = hlist
** Item 2.1
+
| belowclass = hlist
** Item 2.2
+
| imageclass = plainlist
 +
 
 +
| imageleft =
 +
* [[File:Cmbox content.png|alt=|link=]]
 +
* [[File:Cmbox notice.png|alt=|link=]]
 +
| image =
 +
* [[File:Cmbox content.png|alt=|link=]]
 +
* [[File:Cmbox notice.png|alt=|link=]]
 +
 
 +
| above =  
 +
* Item 1
 +
** Item 1.1
 +
** Item 1.2
 +
* Item 2
 +
** Item 2.1
 +
** Item 2.2
 +
 
 +
| group1 = List 1
 +
| list1  =
 +
* Item 1
 +
** Item 1.1
 +
** Item 1.2
 +
* Item 2
 +
** Item 2.1
 +
** Item 2.2
 +
* Item 3
 +
** Item 3.1
 +
** Item 3.2
 +
* Item 4
 +
** Item 4.1
 +
** Item 4.2
 +
* Item 55
 +
** Item 5.1
 +
** Item 5.2
 +
* Item 6
 +
** Item 6.1
 +
** Item 6.2
 +
* Item 7
 +
** Item 7.1
 +
** Item 7.2
 +
* Item 8
 +
** Item 8.1
 +
** Item 8.2
 +
 
 +
| group2 = List 2
 +
| list2  =
 +
* Item 1
 +
** Item 1.1
 +
** Item 1.2
 +
* Item 2
 +
** Item 2.1
 +
** Item 2.2
 +
* Item 3
 +
** Item 3.1
 +
** Item 3.2
 +
* Item 4
 +
** Item 4.1
 +
** Item 4.2
 +
* Item 5
 +
** Item 5.1
 +
** Item 5.2
 +
* Item 6
 +
** Item 6.1
 +
** Item 6.2
 +
* Item 7
 +
** Item 7.1
 +
** Item 7.2
 +
* Item 8
 +
** Item 8.1
 +
** Item 8.2
 +
 
 +
| below =
 +
* Item 1
 +
** Item 1.1
 +
** Item 1.2
 +
* Item 2
 +
** Item 2.1
 +
** Item 2.2
 +
}}
 +
 
 +
==Gradient==
 +
{{Void|Navbox/sandbox
 +
| name = Torchwood
 +
| title = ''[[Torchwood]]''
 +
| navbar = {{{navbar|}}}
 +
| state = open
 +
| bodystyle = {{{bodystyle|}}}
 +
| titlestyle = {{{titlestyle|}}} {{linear-gradient|top|#e6e6ff, #ccccff}}
 +
| groupstyle = {{{groupstyle|}}} {{linear-gradient|top|#eeeeff, #ddddff}}
 +
| liststyle = {{{liststyle|}}}
 +
| oddstyle = {{linear-gradient|left|#f7f7f7, #fdfdfd}}
 +
| evenstyle = {{linear-gradient|left|#f1f1f1, #fdfdfd}}
 +
| listclass = hlist
 +
 
 +
| group1 = [[:Category:Torchwood|''Torchwood'' main pages]]
 +
| list1  =
 +
* [[Themes in Torchwood|Themes]]
 +
* [[Criticism of Torchwood|Criticism]]
 +
* ''[[Torchwood Declassified]]''
 +
* ''[[Doctor Who]]''
 +
* [[Whoniverse]]
 +
* [[Torchwood Institute]]
 +
* [[Cardiff Rift]]
 +
* [[UNIT]]
 +
* [[Weevil (Torchwood)|Weevils]]
 +
 
 +
| group2 = Characters
 +
| list2  =
 +
* [[Jack Harkness]]
 +
* [[Gwen Cooper]]
 +
* [[Owen Harper]]
 +
* [[Toshiko Sato]]
 +
* [[Ianto Jones]]
 +
* [[Martha Jones]]
 +
* [[Rhys Williams (Torchwood)|Rhys Williams]]
 +
 
 +
| group3 = [[:Category:Torchwood lists|''Torchwood'' lists]]
 +
| list3  =
 +
* [[List of Torchwood episodes|Episodes]]
 +
* [[List of Torchwood monsters and aliens|Monsters and aliens]]
 +
* [[List of Torchwood characters|Characters]]
 +
* [[List of Torchwood items|Items]]
 +
* [[Celebrity and notable guest appearances in Doctor Who#Torchwood|Guest stars]]
 +
* [[List of Torchwood writers|Writers]]
 +
 
 +
| group4 = ''Torchwood'' music
 +
| list4  =
 +
* [[Torchwood: Original Television Soundtrack|Series 1 and 2 Soundtrack]]
 +
* [[Torchwood: Original Television Soundtrack - Children of Earth|Children of Earth Soundtrack]]
 +
 
 +
| group5 = [[:Category:Doctor Who magazines|Related articles]]
 +
| list5  =
 +
* ''[[Torchwood Magazine]]''
 +
* [[List of Torchwood comics|Comics]]
 +
* [[List of Torchwood novels and audio books|Novels and audio books]]
 +
* "[[The Stolen Earth]]" / "[[Journey's End (Doctor Who)|Journey's End]]"
 +
}}
 +
 
 +
===Border-radius===
 +
{{Void|Navbox/sandbox
 +
| name = Torchwood
 +
| title = ''[[Torchwood]]''
 +
| navbar = {{{navbar|}}}
 +
| state = open
 +
| bodystyle = {{{bodystyle|}}} {{border-radius|6px}}
 +
| titlestyle = {{{titlestyle|}}} {{border-radius|4px}} {{linear-gradient|top|#e6e6ff, #ccccff}}
 +
| groupstyle = {{{groupstyle|}}} {{border-radius|4px}} {{linear-gradient|top|#eeeeff, #ddddff}}
 +
| liststyle = {{{liststyle|}}} {{border-radius|4px}}
 +
| oddstyle = {{linear-gradient|left|#f7f7f7, #fdfdfd}}
 +
| evenstyle = {{linear-gradient|left|#f1f1f1, #fdfdfd}}
 +
| listclass = hlist
 +
 
 +
| group1 = [[:Category:Torchwood|''Torchwood'' main pages]]
 +
| list1  =
 +
* [[Themes in Torchwood|Themes]]
 +
* [[Criticism of Torchwood|Criticism]]
 +
* ''[[Torchwood Declassified]]''
 +
* ''[[Doctor Who]]''
 +
* [[Whoniverse]]
 +
* [[Torchwood Institute]]
 +
* [[Cardiff Rift]]
 +
* [[UNIT]]
 +
* [[Weevil (Torchwood)|Weevils]]
 +
 
 +
| group2 = Characters
 +
| list2  =
 +
* [[Jack Harkness]]
 +
* [[Gwen Cooper]]
 +
* [[Owen Harper]]
 +
* [[Toshiko Sato]]
 +
* [[Ianto Jones]]
 +
* [[Martha Jones]]
 +
* [[Rhys Williams (Torchwood)|Rhys Williams]]
  
| group1 = List 1
+
| group3 = [[:Category:Torchwood lists|''Torchwood'' lists]]
| list1 =  
+
| list3 =  
* Item 1
+
* [[List of Torchwood episodes|Episodes]]
** Item 1.1
+
* [[List of Torchwood monsters and aliens|Monsters and aliens]]
** Item 1.2
+
* [[List of Torchwood characters|Characters]]
* Item 2
+
* [[List of Torchwood items|Items]]
** Item 2.1
+
* [[Celebrity and notable guest appearances in Doctor Who#Torchwood|Guest stars]]
** Item 2.2
+
* [[List of Torchwood writers|Writers]]
* Item 3
 
** Item 3.1
 
** Item 3.2
 
* Item 4
 
** Item 4.1
 
** Item 4.2
 
* Item 55
 
** Item 5.1
 
** Item 5.2
 
* Item 6
 
** Item 6.1
 
** Item 6.2
 
* Item 7
 
** Item 7.1
 
** Item 7.2
 
* Item 8
 
** Item 8.1
 
** Item 8.2
 
  
| group2 = List 2
+
| group4 = ''Torchwood'' music
| list2 =  
+
| list4 =  
* Item 1
+
* [[Torchwood: Original Television Soundtrack|Series 1 and 2 Soundtrack]]
** Item 1.1
+
* [[Torchwood: Original Television Soundtrack - Children of Earth|Children of Earth Soundtrack]]
** Item 1.2
 
* Item 2
 
** Item 2.1
 
** Item 2.2
 
* Item 3
 
** Item 3.1
 
** Item 3.2
 
* Item 4
 
** Item 4.1
 
** Item 4.2
 
* Item 5
 
** Item 5.1
 
** Item 5.2
 
* Item 6
 
** Item 6.1
 
** Item 6.2
 
* Item 7
 
** Item 7.1
 
** Item 7.2
 
* Item 8
 
** Item 8.1
 
** Item 8.2
 
  
| below =  
+
| group5 = [[:Category:Doctor Who magazines|Related articles]]
* Item 1
+
| list5  =
** Item 1.1
+
* ''[[Torchwood Magazine]]''
** Item 1.2
+
* [[List of Torchwood comics|Comics]]
* Item 2
+
* [[List of Torchwood novels and audio books|Novels and audio books]]
** Item 2.1
+
* "[[The Stolen Earth]]" / "[[Journey's End (Doctor Who)|Journey's End]]"
** Item 2.2
 
 
}}
 
}}

Latest revision as of 11:16, 22 April 2018

These all use the {{sandbox version}} of the {{Navbox}} (and subsequently {{Navbar}}) code; please ensure that all of them look correct here before saving sandbox tests to the live template.

Additional test cases from Wikipedia are included, but disabled using {{Void}}, as they link heavily to Wikipedia content. They are left in, but disabled, for convenient access to them when making significant changes to the template. They provide a wide range of test cases for occasional use. Please do not save the testcase template with them enabled, only use them with MediaWiki's "Show Preview" functionality.

Kerbal Space Program Wiki tests

{{Demo parts}}

{{Navbox}}

{{Navbox/sandbox}}

{{Parts}}

{{Navbox}}

{{Navbox/sandbox}}

{{Stock craft}}

{{Navbox}}

{{Navbox/sandbox}}

{{Versions}}

{{Navbox}}

{{Navbox/sandbox}}

Basic tests

Subgroup tests

Container tests


Style tests

Group width tests

Using new groupwidth parameter

Navbar and state tests

Titlegroup tests



Missing parameter tests

Row striping tests


Additional tests

  1. Test margin with references
  2. Second reference
  3. Third reference

Using Navbox with columns / Navbox with collapsible groups


Span hack

Lists with in-list images

Horizontal/plain lists

Gradient

Border-radius