Difference between revisions of "Template:Iraqi elections"

From blackwiki
Jump to navigation Jump to search
imported>AndrewRT
(next governorate elections now 2020)
imported>Sladnick
(2020 governorate shelved until sometime after next parliamentary election)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
 
|group1 = [[Council of Representatives of Iraq|Parliamentary elections]]
 
|group1 = [[Council of Representatives of Iraq|Parliamentary elections]]
 
|list1  =  
 
|list1  =  
Line 34: Line 33:
 
*[[2014 Iraqi parliamentary election|2014]]
 
*[[2014 Iraqi parliamentary election|2014]]
 
*[[2018 Iraqi parliamentary election|2018]]
 
*[[2018 Iraqi parliamentary election|2018]]
 +
*[[2021 Iraqi parliamentary election|''2021'']]
  
 
|group2 = [[President of Iraq|Presidential elections]]
 
|group2 = [[President of Iraq|Presidential elections]]
Line 46: Line 46:
 
*[[2013 Iraqi governorate elections|2013]]
 
*[[2013 Iraqi governorate elections|2013]]
 
*[[2014 Iraqi Kurdistan governorate elections|2014]]
 
*[[2014 Iraqi Kurdistan governorate elections|2014]]
*[[2018 Iraqi governorate elections|2020]
+
*''[[Next Iraqi governorate elections|Next]]''
  
 
|group4 = Referendums
 
|group4 = Referendums

Latest revision as of 08:05, 15 September 2020


Initial visibility: currently defaults to autocollapse

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

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