Difference between revisions of "Template:1996–present New Zealand by-elections"

From blackwiki
Jump to navigation Jump to search
blackwiki>Schwede66
(adjust after template move)
blackwiki>J947
m (fix date.)
Line 29: Line 29:
 
| list7  =  
 
| list7  =  
 
* [[2015 Northland by-election|2015 Northland]]
 
* [[2015 Northland by-election|2015 Northland]]
* [[2016 Mount Roskill by-election|2015 Mount Roskill]]
+
* [[2016 Mount Roskill by-election|2016 Mount Roskill]]
 
* [[2017 Mount Albert by-election|2017 Mount Albert]]
 
* [[2017 Mount Albert by-election|2017 Mount Albert]]
 
| group8 = [[52nd New Zealand Parliament|52nd Parliament]]
 
| group8 = [[52nd New Zealand Parliament|52nd Parliament]]

Revision as of 20:44, 7 March 2019

Initial visibility: currently defaults to autocollapse

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

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