Difference between revisions of "Template:Elections in South Carolina footer"

From blackwiki
Jump to navigation Jump to search
imported>Carolina wren
(with filing open now, adding links for 2014, also SC Senate elections are only held in presidential election years (SC House is every two years))
imported>Carolina wren
m (typo)
Line 74: Line 74:
 
* [[South Carolina elections, 2010|2010]]
 
* [[South Carolina elections, 2010|2010]]
 
* [[South Carolina elections, 2012|2012]]
 
* [[South Carolina elections, 2012|2012]]
* [[South Carolina elections, 2012|2014]]
+
* [[South Carolina elections, 2014|2014]]
  
 
| group2= [[South Carolina Senate|SC Senate]]
 
| group2= [[South Carolina Senate|SC Senate]]

Revision as of 23:32, 25 April 2014

Initial visibility: currently defaults to autocollapse

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

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