Difference between revisions of "Template:Malaysian by-elections"

From blackwiki
Jump to navigation Jump to search
imported>Roman888
(Blanked the page)
(Why was this page blanked with no explanation?)
Line 1: Line 1:
 +
{{National elections
 +
|name  = Malaysian by-elections
 +
|state = {{{state|}}}
 +
|flag  = Malaysia
  
 +
|title1 = [[Elections in Malaysia|Malaysian by-elections since 2000]]
 +
|list1  =
 +
{{Navbox subgroups
 +
  |groupstyle = background:#BFD7FF;
 +
  |liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
 +
  |group1 = State Assemblies
 +
  |list1  = {{nowrap begin}} [[Sanggang by-election, 2000|Sanggang 2000]]{{·w}} [[Lunas by-election, 2000|Lunas 2000]]{{·w}} [[Pahang by-election, 2001|Pahang 2001]]{{·w}} [[Indera Kayangan by-election, 2002|Indera Kayangan 2002]]{{·w}} [[Ketari by-election, 2002|Ketari 2002]]{{·w}} [[Kuala Berang by-election, 2004|Kuala Berang 2004]]{{·w}} [[Pengkalan Pasir by-election, 2005|Pengkalan Pasir 2005]]{{·w}} [[Batu Talam by-election, 2007|Batu Talam 2007]]{{·w}} [[Machap by-election, 2007|Machap 2007]]{{·w}} [[Ijok by-election, 2007|Ijok 2007]] {{nowrap end}}
 +
  |group2 = Parliamentary
 +
  |list2  = [[Permatang Pauh by-election, 2008|Permatang Pauh 2008]] {{·w}} [[Pensiangan by-election, 2009|Pensiangan 2009]] {{·w}} [[Kuala Terengganu by-election, 2009|Kuala Terengganu 2009]]{{nowrap end}}
 +
}}
 +
}}<noinclude>
 +
<br/>{{collapsible option}}
 +
 +
==See also==
 +
* {{tl|Malaysian general elections}}
 +
* {{tl|Malaysian state elections}}
 +
 +
[[Category:Malaysia election templates|By-elections]]
 +
</noinclude>

Revision as of 19:17, 17 January 2009

Template:National elections
Initial visibility: currently defaults to autocollapse

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

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

See also