Difference between revisions of "Template:Elections in Malaysia"

From blackwiki
Jump to navigation Jump to search
Line 16: Line 16:
 
   | list2 =
 
   | list2 =
 
* [[Results of the 2013 Malaysian general election by parliamentary constituency|13th]]
 
* [[Results of the 2013 Malaysian general election by parliamentary constituency|13th]]
 
+
}}
 
|group3 = [[State legislative assemblies of Malaysia|State elections]]
 
|group3 = [[State legislative assemblies of Malaysia|State elections]]
 
|list3 =  
 
|list3 =  
Line 22: Line 22:
 
*[[Sarawak state election, 2006|2006]]
 
*[[Sarawak state election, 2006|2006]]
 
*[[Sarawak state election, 2011|2011]]
 
*[[Sarawak state election, 2011|2011]]
}}
+
 
 
|below =  
 
|below =  
 
*See also: Elections in [[Elections in Johor|Johor]]  
 
*See also: Elections in [[Elections in Johor|Johor]]  

Revision as of 22:14, 23 June 2015

Initial visibility: currently defaults to autocollapse

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

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