Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Home
Random page
Pages on topics near you
Recent changes
Special pages
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Navbox/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Multiple visibility toggles === {{Main|Template:Navbox with collapsible groups}} The example below is generated using a regular navbox for the main container with its {{Parameter|list{{Sub|{{Var|N}}}}}} parameters all assigned the value {{Code|child}} (e.g., {{Parameter|list1|child}}, {{Parameter|list2|child}}, …). The <span class="plainlinks" style="font-size: 0.88em; margin: 0; padding: 0; white-space: collapse nowrap;"><span style="margin: 0; word-spacing: -0.125em;">[[Template:Navbox|<abbr style="border-bottom: none; cursor: inherit; font-variant: small-caps; text-decoration: none;" title="View this template">v</abbr>]]</span> · <span style="margin: 0; word-spacing: -0.125em;">[[Template talk:Navbox|<abbr style="border-bottom: none; cursor: inherit; font-variant: small-caps; text-decoration: none;" title="Discuss this template">t</abbr>]]</span> · <span style="margin: 0; word-spacing: -0.125em;">[[Special:EditPage/Template:Navbox|<abbr style="border-bottom: none; cursor: inherit; font-variant: small-caps; text-decoration: none;" title="Edit this template">e</abbr>]]</span></span> links are hidden automatically because the "child" or "subgroup" keyword is used, so defining {{Parameter|navbar|plain}} for each of them is not necessary. The code <code>{{Var|N}}_state = <nowiki>{{#ifeq:{{{selected|}}}|ABBREVIATION|uncollapsed|{{{stateN|collapsed}}}}}</nowiki></code> is used to replicate the {{Parameter|abbr{{Sub|{{Var|N}}}}|ABBREVIATION}} functionality of {{Template link general|Navbox with collapsible groups}}. {{{{PAGENAMETDOC}} | name = Navbox/doc | title = [[French colonial empire|Former French overseas empire]] | state = uncollapsed | list1 = child | 1_state = {{#ifeq:{{{selected|}}}|Africa|uncollapsed|{{{state1|collapsed}}}}} | 1_title = [[French colonial empire|Former French colonies]] in [[Africa]] and the [[Indian Ocean]] | 1_listclass = hlist | 1_group1 = [[Mahgreb]] | 1_list1 = * [[French rule in Algeria|Algeria]] * [[French Morocco|Morocco]] <small>([[Arguin|Arguin Island]])</small> * [[History of Tunisia|Tunisia]] | 1_group2 = [[French West Africa]] | 1_list2 = * [[History of Côte d'Ivoire#French colonial era|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]] * [[French Togoland]] * [[James Island (The Gambia)|James Island]] | 1_group3 = [[French Equatorial Africa]] | 1_list3 = * [[Colonial Chad|Chad]] * [[History of Gabon|Gabon]] * [[History of the Republic of the Congo|Middle Congo]] * [[Oubangui-Chari]] | 1_group4 = [[Comoros]] | 1_list4 = * [[Anjouan]] * [[Grande Comore]] * [[Mohéli]] * [[History of Djibouti#French Interest|French Somaliland (Djibouti)]] * [[History of Madagascar#French control|Madagascar]] * [[Mauritius|Ile de France]] * [[Seychelles]] | list2 = child | 2_state = {{#ifeq:{{{selected|}}}|Americas|uncollapsed|{{{state2|collapsed}}}}} | 2_title = [[French colonial empire|Former French colonies]] in the [[Americas]] | 2_listclass = hlist | 2_list1 = * [[New France]]{{spaces|2}}<small>([[Acadia]], [[Louisiana (New France)|Louisiana]], [[Canada, New France|Canada]], [[Newfoundland (island)|Terre Neuve]]) 1655–1763 </small> | 2_list2 = * [[Inini]] * [[Berbice]] * [[Saint-Domingue]] * <small>[[Haiti]]</small> * [[Tobago]] * [[History of the British Virgin Islands|Virgin Islands]] * [[France Antarctique]] * [[France Équinoxiale]] | 2_below = [[French West India Company]] | list3 = child | 3_state = {{#ifeq:{{{selected|}}}|Asia|uncollapsed|{{{state3|collapsed}}}}} | 3_title = [[French colonial empire|Former French colonies]] in [[Asia]] and [[Oceania]] | 3_listclass = hlist | 3_group1 = [[Asia]] | 3_list1 = child | 3_1_group1 = [[French India]] | 3_1_list1 = * [[Chandernagor]] * [[Coromandel Coast]] * [[History of Chennai|Madras]] * [[Mahé, India|Mahé]] * [[History of Pondicherry|Pondichéry]] * [[Karaikal]] * [[Yanam (India)|Yanaon]] | 3_1_group2 = [[French Indochina]] | 3_1_list2 = * [[Colonial Cambodia|Cambodia]] * [[History of Laos to 1945#French Laos|Laos]] * [[French Indochina|Vietnam]] <small>([[Annam (French colony)|Annam]], [[Cochinchina]], [[Tonkin]])</small> | 3_1_group3 = Other Asian | 3_1_list3 = * [[Alawite State|Alaouites]] * [[Republic of Hatay|Alexandretta-Hatay]] * [[Sri Lanka|Ceylon]] * [[Kwangchowan]] | 3_group4 = [[Oceania]] | 3_list4 = * [[New Hebrides]] ** [[History of Vanuatu|Vanuatu]] | 3_below = [[Louis XIV's East India Company|French East India Company]] }}
Summary:
Please note that all contributions to Wikifacta are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International License. A few of Wikifacta's pages are from Wikipedia.org's Mainspace and Draftspace. (see
Wikifacta:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template
:
Navbox/doc
(section)
Add topic