Difference between revisions of "Template:Afghan elections"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sladnick
blackwiki>Number 57
(Simplify; let's cover both district and provincial elections in the same article)
Line 31: Line 31:
 
*[[2018 Afghan parliamentary election|2018]]
 
*[[2018 Afghan parliamentary election|2018]]
  
|group3=Provincial elections
+
|group3=Local elections
 
|list3=
 
|list3=
*[[2005 Afghan provincial elections|2005]]
+
*[[2005 Afghan local elections|2005]]
*[[2009 Afghan provincial elections|2009]]
+
*[[2009 Afghan local elections|2009]]
*[[2014 Afghan provincial elections|2014]]
+
*[[2014 Afghan local elections|2014]]
*[[2020 Afghan provincial elections|''2020'']]
+
*[[2020 Afghan local elections|''2020'']]
 
 
|group4=District elections
 
|list4=
 
*[[2020 Afghan district elections|''2020'']]
 
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 21:04, 1 January 2020


Initial visibility: currently defaults to autocollapse

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

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