Difference between revisions of "Template:Catalan elections"

From blackwiki
Jump to navigation Jump to search
imported>Impru20
imported>Agm
(Local elections added (1934 local elections were only held in Catalonia))
Line 50: Line 50:
 
* ''2019''
 
* ''2019''
  
|group4 = Referendums
+
|group4 = Local elections
|list4 =  
+
|list4 =
 +
* [[Spanish local elections, 1931#Catalonia|1931]]
 +
* [[Catalan local elections, 1934|1934]]
 +
* [[Spanish local elections, 1979|1979]]
 +
* [[Spanish local elections, 1983|1983]]
 +
* [[Spanish local elections, 1987|1987]]
 +
* [[Spanish local elections, 1991|1991]]
 +
* [[Spanish local elections, 1995|1995]]
 +
* [[Spanish local elections, 1999|1999]]
 +
* [[Spanish local elections, 2003|2003]]
 +
* [[Spanish local elections, 2007|2007]]
 +
* [[Spanish local elections, 2011|2011]]
 +
* [[Spanish local elections, 2015#Catalonia|2015]]
 +
* ''[[Spanish local elections, 2019|2019]]''
 +
 
 +
|group5 = Referendums
 +
|list5 =  
 
* [[Catalan autonomy referendum, 1931|1931]]
 
* [[Catalan autonomy referendum, 1931|1931]]
 
* [[Catalan autonomy referendum, 1979|1979]]
 
* [[Catalan autonomy referendum, 1979|1979]]

Revision as of 00:49, 4 February 2018

Initial visibility: currently defaults to autocollapse

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

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