Difference between revisions of "Template:Elections in Oregon footer"

From blackwiki
Jump to navigation Jump to search
imported>Bluegleam
(Slight reorganization to make consistent with other state election templates)
imported>Bluegleam
(Simplify ballot measure links to years for template consistency)
Line 70: Line 70:
 
| group4 = [[List of Oregon ballot measures|Ballot measures]]
 
| group4 = [[List of Oregon ballot measures|Ballot measures]]
 
| list4  =
 
| list4  =
* 2007 ([[Oregon Ballot Measure 49 (2007)#Measure 49|Measure 49]], [[Oregon Ballot Measure 50 (2007)|Measure 50]])
+
* [[Oregon state elections, 2007#Ballot measures|2007]]
* 2008 ([[Oregon state elections, 2008#May|May]], [[Oregon state elections, 2008#November|Nov]])
+
* [[Oregon state elections, 2008#Ballot measures|2008]]
* 2010 ([[Oregon state elections, 2010#January|Jan]], [[Oregon state elections, 2010#May|May]], [[Oregon state elections, 2010#November|Nov]])
+
* [[Oregon state elections, 2010#Ballot measures|2010]]
 
* [[Oregon state elections, 2012#Ballot measures|2012]]
 
* [[Oregon state elections, 2012#Ballot measures|2012]]
 
* [[Oregon state elections, 2014#Ballot measures|2014]]
 
* [[Oregon state elections, 2014#Ballot measures|2014]]

Revision as of 09:18, 1 March 2015

Initial visibility: currently defaults to autocollapse

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

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