Difference between revisions of "Template:Dutch colonies"

From blackwiki
Jump to navigation Jump to search
(sections not automatically expanded (too "in your face"), shorter groupname)
imported>Frietjes
(there is a standard way to do this, use the selected and abbr feature)
Line 1: Line 1:
 
{{navbox with collapsible groups
 
{{navbox with collapsible groups
 
| name  = Dutch colonies
 
| name  = Dutch colonies
| state = {{{state|<includeonly>collapsed</includeonly><noinclude>expanded</noinclude>}}}
 
 
| title = [[Dutch Empire]]
 
| title = [[Dutch Empire]]
 +
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 +
| selected = {{{1|}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
  
 
| sect1  = Colonies and trading posts of the [[Dutch East India Company]] (1602–1798)
 
| sect1  = Colonies and trading posts of the [[Dutch East India Company]] (1602–1798)
| state1 = {{{state1|}}}
+
| abbr1 = 1602
 +
| state1 = <noinclude>expanded</noinclude>
 
| list1  =
 
| list1  =
   {{Navbox |child |listclass=hlist |groupwidth=17.25em
+
   {{Navbox |child
 +
  | listclass = hlist
 +
 
 
   | group1 = Governorates
 
   | group1 = Governorates
 
   | list1  =
 
   | list1  =
Line 50: Line 54:
  
 
| sect2  = Colonies and trading posts of the [[Dutch West India Company]] (1621–1792)
 
| sect2  = Colonies and trading posts of the [[Dutch West India Company]] (1621–1792)
| state2 = {{{state2|}}}
+
| abbr2 = 1621
 +
| state2 = <noinclude>expanded</noinclude>
 
| list2  =
 
| list2  =
   {{Navbox |child |bodyclass=hlist |groupwidth=17.25em
+
   {{Navbox |child
 +
  | listclass = hlist
 +
 
 
   | group1 = Colonies in the Americas
 
   | group1 = Colonies in the Americas
 
   | list1  =
 
   | list1  =
Line 80: Line 87:
  
 
| sect3  = Settlements of the [[Noordsche Compagnie]] (1614–1642)
 
| sect3  = Settlements of the [[Noordsche Compagnie]] (1614–1642)
| state3 = {{{state3|}}}
+
| abbr3 = 1614
 +
| state3 = <noinclude>expanded</noinclude>
 
| list3  =
 
| list3  =
   {{ Navbox |child |listclass=hlist |groupwidth=17.25em
+
   {{Navbox |child
 +
  | listclass = hlist
 +
 
 
   | group1 = Settlements
 
   | group1 = Settlements
 
   | list1  =
 
   | list1  =
Line 90: Line 100:
  
 
| sect4  = Colonies of the Kingdom of the Netherlands (1815–1962)
 
| sect4  = Colonies of the Kingdom of the Netherlands (1815–1962)
| state4 = {{{state4|}}}
+
| abbr4 = 1815
 +
| state4 = <noinclude>expanded</noinclude>
 
| list4  =   
 
| list4  =   
   {{Navbox|child |listclass=hlist |groupwidth=17.25em
+
   {{Navbox |child
 +
  | listclass = hlist
 +
 
 
   | group1 = Until 1825
 
   | group1 = Until 1825
 
   | list1  =
 
   | list1  =
Line 119: Line 132:
  
 
| sect5  = [[Kingdom of the Netherlands]] (1954–present)
 
| sect5  = [[Kingdom of the Netherlands]] (1954–present)
| state5 = {{{state5|}}}
+
| abbr3 = 1954
 +
| state5 = <noinclude>expanded</noinclude>
 
| list5  =   
 
| list5  =   
   {{Navbox |child |listclass=hlist |groupwidth=17.25em
+
   {{Navbox |child
 +
  | listclass = hlist
 +
 
 
   | group1 = Constituent countries
 
   | group1 = Constituent countries
 
   | list1  =
 
   | list1  =

Revision as of 15:49, 15 October 2012

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to collapsed

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Dutch colonies|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Dutch colonies|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Dutch colonies|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.


How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • East India
    • West India
    • Noordsche
    • Kingdom1
    • Kingdom2
  • For example: {{Dutch colonies |Kingdom1 | Kingdom2}}
Note. This navbar takes a second |name parameter when needed to expand more than one section.