Difference between revisions of "Template:Aus by-elections 35th parl"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Ianblair23
(sort key)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name     = Aus by-elections 35th parl
+
| name = Aus by-elections 35th parl
| title     = [[By-election]]s of the [[Members of the Australian House of Representatives, 1987–1990|35th Australian parliament]] (1987–1990)
+
| title = [[List of Australian federal by-elections#35th Parliament (1987–1990)|By-elections]] of the [[Members of the Australian House of Representatives, 1987–1990|35th Australian parliament]] (1987–1990)
| state       = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
 
| group1 = 1988
 
| group1 = 1988
| list1 =  
+
| list1 =  
 
* [[Adelaide by-election, 1988|Adelaide]]
 
* [[Adelaide by-election, 1988|Adelaide]]
 
* [[Port Adelaide by-election, 1988|Port Adelaide]]
 
* [[Port Adelaide by-election, 1988|Port Adelaide]]
Line 12: Line 11:
 
* [[Oxley by-election, 1988|Oxley]]  
 
* [[Oxley by-election, 1988|Oxley]]  
 
| group2 = 1989
 
| group2 = 1989
| list2 =  
+
| list2 =  
 
* [[Gwydir by-election, 1989|Gwydir]]
 
* [[Gwydir by-election, 1989|Gwydir]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Australia by-election result templates]]
+
[[Category:Australia by-election result templates|35]]
 
</noinclude>
 
</noinclude>

Revision as of 04:19, 14 March 2015

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Aus by-elections 35th parl|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Aus by-elections 35th parl|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Aus by-elections 35th parl|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.