Difference between revisions of "Template:1939–1995 New Zealand by-elections"

From blackwiki
Jump to navigation Jump to search
blackwiki>Schwede66
m (14 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = NZ by-elections, 1939–1995
+
| name = 1939–1995 New Zealand by-elections
| title = <small>&laquo; ''[[Template:NZ by-elections, 1912–1938|(1912–1938)]]'' &laquo;</small> &nbsp; <span style="padding:0 3.5em"></span>{{flagicon|New Zealand}} [[List of New Zealand by-elections|By-elections in New Zealand]] in the two-party era (1939–1995) &nbsp; <span style="padding:0 3.5em"></span> <small>&raquo; ''[[Template:NZ by-elections, 1996–present|(1996–present)]]'' &raquo;</small>
+
| title = <small>&laquo; ''[[Template:1912–1938 New Zealand by-elections|(1912–1938)]]'' &laquo;</small> &nbsp; <span style="padding:0 3.5em"></span>{{flagicon|New Zealand}} [[List of New Zealand by-elections|By-elections in New Zealand]] in the two-party era (1939–1995) &nbsp; <span style="padding:0 3.5em"></span> <small>&raquo; ''[[Template:1996–present New Zealand by-elections|(1996–present)]]'' &raquo;</small>
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| listclass = hlist
 
| listclass = hlist

Latest revision as of 16:30, 2 October 2020

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{1939–1995 New Zealand by-elections|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{1939–1995 New Zealand by-elections|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{1939–1995 New Zealand by-elections|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 autocollapse.