Difference between revisions of "Template:Lebanese elections"

From blackwiki
Jump to navigation Jump to search
imported>Maudslayer
(added presidential)
imported>Number 57
(These templates do not include indirect elections, hence why the presidential elections were not included)
 
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name   = Lebanese elections
+
|name = Lebanese elections
|title   = {{flagicon|Lebanon}} [[Elections in Lebanon]]
+
|title = {{flagicon|Lebanon}} [[Elections in Lebanon]]
|state   = {{{state|autocollapse}}}
+
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
 
+
|group1 = [[Parliament of Lebanon|General elections]]
|group1 = [[President of Lebanon|Presidential]]
+
|list1 =
|list1 =
 
*[[1943 Lebanese presidential election|1943]]
 
*[[1952 Lebanese presidential election|1952]]
 
*[[1958 Lebanese presidential election|1958]]
 
*[[1964 Lebanese presidential election|1964]]
 
*[[1970 Lebanese presidential election|1970]]
 
*[[1976 Lebanese presidential election|1976]]
 
*[[August 1982 Lebanese presidential election|1982 (Aug)]]
 
*[[September 1982 Lebanese presidential election|1982 (Sep)]]
 
*[[5 November 1989 Lebanese presidential election|1989 (5 Nov)]]
 
*[[24 November 1989 Lebanese presidential election|1989 (24 Nov)]]
 
*[[1998 Lebanese presidential election|1998]]
 
*[[2008 Lebanese presidential election|2008]]
 
*[[2014–2016 Lebanese presidential election|2014–2016]]
 
 
 
|group2 = [[Parliament of Lebanon|Parliamentary]]
 
|list2  =  
 
 
*[[1922 Lebanese Representative Council election|1922]]
 
*[[1922 Lebanese Representative Council election|1922]]
 
*[[1925 Lebanese Representative Council election|1925]]
 
*[[1925 Lebanese Representative Council election|1925]]
Line 44: Line 27:
 
*[[2018 Lebanese general election|2018]]
 
*[[2018 Lebanese general election|2018]]
  
|group3 = Municipal
+
|group2 = Municipal elections
|list3  =  
+
|list2 =
 
*[[1963 Lebanese municipal elections|1963]]
 
*[[1963 Lebanese municipal elections|1963]]
 
*[[1998 Lebanese municipal elections|1998]]
 
*[[1998 Lebanese municipal elections|1998]]
Line 53: Line 36:
 
}}<noinclude>
 
}}<noinclude>
 
<br/>{{collapsible option}}
 
<br/>{{collapsible option}}
 
 
[[Category:Middle East election year templates|Lebanon]]
 
[[Category:Middle East election year templates|Lebanon]]
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 11:15, 17 November 2020


Initial visibility: currently defaults to autocollapse

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

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