Difference between revisions of "Template:Australian state electoral district"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
|name = Australian state electoral district
 
|name = Australian state electoral district
 +
|state = {{{state|collapsed}}}
 
|title = [[Electorates of the Australian states and territories|Australian state and territory electoral districts]]
 
|title = [[Electorates of the Australian states and territories|Australian state and territory electoral districts]]
 
|listclass = hlist
 
|listclass = hlist
Line 8: Line 9:
 
* [[Electoral districts of Victoria|Victoria]]
 
* [[Electoral districts of Victoria|Victoria]]
 
* [[Electoral districts of Queensland|Queensland]]
 
* [[Electoral districts of Queensland|Queensland]]
 +
* [[Electoral districts of Western Australia|Western Australia]]
 
* [[Electoral districts of South Australia|South Australia]]
 
* [[Electoral districts of South Australia|South Australia]]
* [[Electoral districts of Western Australia|Western Australia]]
 
 
* [[Tasmanian House of Assembly|Tasmania]]
 
* [[Tasmanian House of Assembly|Tasmania]]
 +
* [[Electorates of the Australian Capital Territory|Australian Capital Territory]]
 
* [[Electoral divisions of the Northern Territory|Northern Territory]]
 
* [[Electoral divisions of the Northern Territory|Northern Territory]]
* [[Electorates of the Australian Capital Territory|Australian Capital Territory]]
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Australia politics and government templates|Australia politics and government templates]]
 
[[Category:Australia politics and government templates|Australia politics and government templates]]
[[id:Templat:Distrik pemilihan negara bagian Australia]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:30, 14 June 2018

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Australian state electoral district|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Australian state electoral district|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Australian state electoral district|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.