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

From blackwiki
Jump to navigation Jump to search
imported>Bluegleam
(Update links, add 2016 special gubernatorial election (http://www.statesmanjournal.com/story/news/politics/2015/02/12/governor-resigns-next-line-lead-state/23332289/))
imported>Bluegleam
(Slight reorganization to make consistent with other state election templates)
Line 5: Line 5:
 
| listclass = hlist
 
| listclass = hlist
  
| group1 = [[Government of Oregon|Statewide]]
+
| group1 = [[Government of Oregon|General]]
 
| list1 =
 
| list1 =
 
* [[Oregon state elections, 2006|2006]]
 
* [[Oregon state elections, 2006|2006]]
Line 14: Line 14:
 
* [[Oregon state elections, 2014|2014]]
 
* [[Oregon state elections, 2014|2014]]
  
| group2 = [[List of Oregon ballot measures|Ballot measures]]
+
| group2 = [[Governor of Oregon|Governor]]
| list2  =
+
| list2 =
* 2007 ([[Oregon Ballot Measure 49 (2007)#Measure 49|Measure 49]], [[Oregon Ballot Measure 50 (2007)|Measure 50]])
 
* 2008 ([[Oregon state elections, 2008#May|May]], [[Oregon state elections, 2008#November|Nov]])
 
* 2010 ([[Oregon state elections, 2010#January|Jan]], [[Oregon state elections, 2010#May|May]], [[Oregon state elections, 2010#November|Nov]])
 
* [[Oregon state elections, 2012#Ballot measures|2012]]
 
* [[Oregon state elections, 2014#Ballot measures|2014]]
 
 
 
| group3 = [[Governor of Oregon|Governor]]
 
| list3 =
 
 
* [[Oregon gubernatorial election, 1858|1858]]
 
* [[Oregon gubernatorial election, 1858|1858]]
 
* [[Oregon gubernatorial election, 1862|1862]]
 
* [[Oregon gubernatorial election, 1862|1862]]
Line 68: Line 60:
 
* ''[[Oregon gubernatorial special election, 2016|2016 (special)]]''
 
* ''[[Oregon gubernatorial special election, 2016|2016 (special)]]''
  
| group4 = [[Oregon Legislative Assembly|Legislative Assembly]]
+
| group3 = [[Oregon Legislative Assembly|State legislature]]
| list4 =
+
| list3 =
* [[Oregon's statewide elections, 2006#Candidates (Legislative)|2006]]
+
* [[Oregon state elections, 2006#Candidates (Legislative)|2006]]
 
* [[Oregon legislative elections, 2008|2008]]
 
* [[Oregon legislative elections, 2008|2008]]
 
* [[Oregon legislative elections, 2010|2010]]
 
* [[Oregon legislative elections, 2010|2010]]
 
* [[Oregon legislative elections, 2012|2012]]
 
* [[Oregon legislative elections, 2012|2012]]
 
* [[Oregon legislative elections, 2014|2014]]
 
* [[Oregon legislative elections, 2014|2014]]
 +
 +
| group4 = [[List of Oregon ballot measures|Ballot measures]]
 +
| list4  =
 +
* 2007 ([[Oregon Ballot Measure 49 (2007)#Measure 49|Measure 49]], [[Oregon Ballot Measure 50 (2007)|Measure 50]])
 +
* 2008 ([[Oregon state elections, 2008#May|May]], [[Oregon state elections, 2008#November|Nov]])
 +
* 2010 ([[Oregon state elections, 2010#January|Jan]], [[Oregon state elections, 2010#May|May]], [[Oregon state elections, 2010#November|Nov]])
 +
* [[Oregon state elections, 2012#Ballot measures|2012]]
 +
* [[Oregon state elections, 2014#Ballot measures|2014]]
  
 
| group5 = [[President of the United States|U.S. President]]
 
| group5 = [[President of the United States|U.S. President]]
Line 159: Line 159:
 
   }}
 
   }}
  
| group7 = [[United States House of Representatives|U.S. House of Representatives]]
+
| group7 = [[United States House of Representatives|U.S. House]]
 
| list7 =
 
| list7 =
 
* [[United States House of Representatives elections in Oregon, 1859|1859]]
 
* [[United States House of Representatives elections in Oregon, 1859|1859]]

Revision as of 11:37, 21 February 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.