Difference between revisions of "Template:AlbertaElections"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jarphi
m
blackwiki>Jarphi
(Incorporated by-election lists (as is done on federal template))
Line 45: Line 45:
 
*[[Alberta Senate nominee election, 2012|2012]]
 
*[[Alberta Senate nominee election, 2012|2012]]
  
 +
|group2=[[List of Alberta by-elections|By-elections]]
 +
|list2=
 +
*[[By-elections to the 28th Alberta Legislature|28th Legislature (2012–2015)]]
 +
*[[By-elections to the 29th Alberta Legislature|29th Legislature (2015–2019)]]
 +
 +
|
 
| group5 = Referendums
 
| group5 = Referendums
 
| list5  =  
 
| list5  =  
Line 76: Line 82:
 
*[[Alberta municipal elections, 2021|''2021'']]
 
*[[Alberta municipal elections, 2021|''2021'']]
  
|below = See also: [[List of Alberta by-elections]]
+
|below = See also: [[Elections in Canada]]
 
}}<noinclude>
 
}}<noinclude>
  

Revision as of 17:53, 7 December 2018

Initial visibility: currently defaults to autocollapse

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

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