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

From blackwiki
Jump to navigation Jump to search
imported>Zzyzx11
imported>Purplebackpack89
(drop the recent, and add links to 2014 and 2015 elections for various things)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = California elections
 
| name      = California elections
| title    = Recent [[elections in California]]
+
| title    = [[Elections in California]]
 
| state    = {{{state|autocollapse}}}
 
| state    = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
Line 173: Line 173:
 
* [[San Francisco mayoral election, 2007|2007]]
 
* [[San Francisco mayoral election, 2007|2007]]
 
* [[San Francisco mayoral election, 2011|2011]]
 
* [[San Francisco mayoral election, 2011|2011]]
 +
* [[San Francisco mayoral election, 2015|2015]]
 
}}
 
}}
  
Line 254: Line 255:
 
* [[California State Senate elections, 2012|2012]]
 
* [[California State Senate elections, 2012|2012]]
 
* [[List of special elections to the California State Senate|Special]]
 
* [[List of special elections to the California State Senate|Special]]
 +
* [[California State Senate elections, 2014|2014]]
  
 
| group5 = [[California State Assembly|State Assembly]]
 
| group5 = [[California State Assembly|State Assembly]]
Line 334: Line 336:
 
* [[California State Assembly elections, 2012|2012]]
 
* [[California State Assembly elections, 2012|2012]]
 
* [[List of special elections to the California State Assembly|Special]]
 
* [[List of special elections to the California State Assembly|Special]]
 +
* [[California State Assembly elections, 2014|2014]]
  
 
| group6 = [[President of the United States|U.S. President]]
 
| group6 = [[President of the United States|U.S. President]]

Revision as of 04:35, 6 June 2014

Initial visibility: currently defaults to autocollapse

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

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