Difference between revisions of "Template:French elections"

From blackwiki
Jump to navigation Jump to search
imported>Sladnick
(link to French local referendums template)
imported>Nezdek
(+2021 and 2022)
Line 87: Line 87:
 
*[[2012 French legislative election|2012]]
 
*[[2012 French legislative election|2012]]
 
*[[2017 French legislative election|2017]]
 
*[[2017 French legislative election|2017]]
 +
*[[2022 French legislative election|''2022'']]
  
 
|group3 = [[Regions of France|Regional]]
 
|group3 = [[Regions of France|Regional]]
Line 97: Line 98:
 
*[[2015 French regional elections|2015]]
 
*[[2015 French regional elections|2015]]
 
*[[2017 Corsican territorial election|2017]]
 
*[[2017 Corsican territorial election|2017]]
 +
*[[2021 French regional elections|''2021'']]
  
 
|group4 = [[Cantons of France|Departemental]]
 
|group4 = [[Cantons of France|Departemental]]
Line 183: Line 185:
 
*[[2011 French cantonal elections|2011]]
 
*[[2011 French cantonal elections|2011]]
 
*[[2015 French departmental elections|2015]]
 
*[[2015 French departmental elections|2015]]
 +
*[[2021 French departmental elections|''2021'']]
  
 
|group5= [[Arrondissements of France|Arrondissement]]
 
|group5= [[Arrondissements of France|Arrondissement]]

Revision as of 12:59, 17 October 2020

Initial visibility: currently defaults to autocollapse

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

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