Difference between revisions of "Template:Cambodian elections"

From blackwiki
Jump to navigation Jump to search
imported>Pitpisit
imported>Number 57
(Please read the note about Senate elections that says "Please do not add the[m]")
Line 25: Line 25:
 
<!-- Please do not add the Senate elections. These templates cover direct elections only.-->
 
<!-- Please do not add the Senate elections. These templates cover direct elections only.-->
  
|group2 = [[Senate of Cambodia|Senate elections]]
+
|group2 = [[Communes of Cambodia|Local elections]]
|list2  =
+
|list2 =
*[[Cambodian Senate election, 2006|2006]]
 
*[[Cambodian Senate election, 2012|2012]]
 
*[[Cambodian Senate election, 2018|2018]]
 
 
 
|group3 = [[Communes of Cambodia|Local elections]]
 
|list3 =
 
 
*[[Cambodian communal election, 2002|2002]]
 
*[[Cambodian communal election, 2002|2002]]
 
*[[Cambodian communal election, 2007|2007]]
 
*[[Cambodian communal election, 2007|2007]]
Line 38: Line 32:
 
*[[Cambodian communal elections, 2017|2017]]  
 
*[[Cambodian communal elections, 2017|2017]]  
  
|group4 = [[President of Cambodia|Presidential elections]]
+
|group3 = [[President of Cambodia|Presidential elections]]
|list4 =
+
|list3 =
 
*[[Cambodian presidential election, 1972|1972]]
 
*[[Cambodian presidential election, 1972|1972]]
  
|group5 = Referendums
+
|group4 = Referendums
|list5 =
+
|list4 =
 
*[[Cambodian referendum, 1945|1945]]
 
*[[Cambodian referendum, 1945|1945]]
 
*[[Cambodian Geneva Conference referendum, 1955|1955]]
 
*[[Cambodian Geneva Conference referendum, 1955|1955]]

Revision as of 10:31, 20 June 2017


Initial visibility: currently defaults to autocollapse

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

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