Template:Malaysian political parties

From blackwiki
Revision as of 08:16, 12 May 2018 by 103.101.244.252 (talk)
Jump to navigation Jump to search

{{Navbox with collapsible groups | name = Malaysian political parties | title = Malaysia Political parties in Malaysia | bodyclass = hlist

| group1 = Parties represented in the Parliament and/or State Assemblies |list1= {{Navbox|subgroup

 |group1=Pakatan Harapan (PH)
 |list1=
 |group2=Barisan Nasional (BN)
 |list2=
 |group3=Gagasan Sejahtera (GS)
 |list3=
 |group4=United Sabah Alliance (USA)
 |list4=
 |group5=Other parties
 |list5=

}}

| group2 = Parties without representation in the Parliament and State Assemblies |list2= {{Navbox|subgroup

 |group1=Barisan Nasional (BN)
 |list1=
 |group2=Gagasan Sejahtera (GS)
 |list2=
 |group3=United Sabah Alliance (USA)
 |list3=
 |group4=Other parties
 |list4=

}}

| group3 = Defunct parties and coalition

|list3=

| below = * denotes non-registered parties

}} Initial visibility: currently defaults to autocollapse

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

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