Difference between revisions of "Template:Aus by-elections 41st 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 41st parl
+
| name = Aus by-elections 41st parl
| title     = [[By-election]]s of the [[Members of the Australian House of Representatives, 2004–2007|41st Australian parliament]] (2004–2007)
+
| title = [[List of Australian federal by-elections#41st Parliament (2004–2007)|By-elections]] of the [[Members of the Australian House of Representatives, 2004–2007|41st Australian parliament]] (2004–2007)
| state       = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
 
| group1 = 2005
 
| group1 = 2005
| list1 =  
+
| list1 =  
 
* [[Werriwa by-election, 2005|Werriwa]]
 
* [[Werriwa by-election, 2005|Werriwa]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Australia by-election result templates]]
+
[[Category:Australia by-election result templates|41]]
 
</noinclude>
 
</noinclude>

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