Difference between revisions of "Template:Manitoba elections"

From blackwiki
Jump to navigation Jump to search
imported>Number 57
(Italics for future elections, not bold)
imported>117Avenue
(per doc, remove red link)
Line 2: Line 2:
 
|name = Manitoba elections
 
|name = Manitoba elections
 
|title = {{flagicon|Manitoba}} [[List of Manitoba general elections|Elections in Manitoba]]
 
|title = {{flagicon|Manitoba}} [[List of Manitoba general elections|Elections in Manitoba]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
Line 45: Line 46:
 
*[[Manitoba general election, 2003|2003]]
 
*[[Manitoba general election, 2003|2003]]
 
*[[Manitoba general election, 2007|2007]]
 
*[[Manitoba general election, 2007|2007]]
*[[Manitoba_general_election,_2011|2011]]
+
*[[Manitoba_general_election,_2011|2011]]
*[[Manitoba_general_election,_2015|''2015'']]
 
 
}}<noinclude>
 
}}<noinclude>
 
<br/>{{collapsible option}}
 
<br/>{{collapsible option}}

Revision as of 02:53, 16 May 2012


Initial visibility: currently defaults to autocollapse

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

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