Difference between revisions of "Template:Canada elections"

From blackwiki
Jump to navigation Jump to search
imported>117Avenue
(corr)
imported>117Avenue
(corr)
Line 74: Line 74:
 
* [[By-elections to the 16th Canadian Parliament|16th (1926–30)]]
 
* [[By-elections to the 16th Canadian Parliament|16th (1926–30)]]
 
* [[By-elections to the 17th Canadian Parliament|17th (1930–35)]]
 
* [[By-elections to the 17th Canadian Parliament|17th (1930–35)]]
* [[By-elections to the 18th Canadian Parliament|18th (1935–40)]]
+
* [[By-elections to the 18th Canadian Parliament|18th (1936–40)]]
 
* [[By-elections to the 19th Canadian Parliament|19th (1940–45)]]
 
* [[By-elections to the 19th Canadian Parliament|19th (1940–45)]]
 
* [[By-elections to the 20th Canadian Parliament|20th (1945–49)]]
 
* [[By-elections to the 20th Canadian Parliament|20th (1945–49)]]

Revision as of 04:35, 5 December 2012


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Canada elections|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Canada elections|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Canada 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. fr:Modèle:Palette Élections au Canada ru:Шаблон:Выборы в Канаде