Difference between revisions of "Template:Malaysian Ministers"

From blackwiki
Jump to navigation Jump to search
Line 73: Line 73:
 
|col3  = {{navbox|subgroup |groupstyle = vertical-align:top;white-space:normal;width:50%;
 
|col3  = {{navbox|subgroup |groupstyle = vertical-align:top;white-space:normal;width:50%;
 
|group1=[[Ministry of Rural and Regional Development (Malaysia)|Rural and<br> Regional Development]] |list1=[[Sivarasa Rasiah]]
 
|group1=[[Ministry of Rural and Regional Development (Malaysia)|Rural and<br> Regional Development]] |list1=[[Sivarasa Rasiah]]
|group2=[[Minister of Tourism, Arts and Culture (Malaysia)|Tourism,<br> Arts and<br> Culture]] |list2=Muhammad Bakhtiar Wan Chik
+
|group2=[[Minister of Tourism, Arts and Culture (Malaysia)|Tourism,<br> Arts and<br> Culture]] |list2=[[Muhammad Bakhtiar Wan Chik]]
 
|group3=[[Ministry of Transport (Malaysia)|Transport]] |list3=[[Kamarudin Jaffar]]
 
|group3=[[Ministry of Transport (Malaysia)|Transport]] |list3=[[Kamarudin Jaffar]]
 
|group4=[[Ministry of Women, Family and Community Development (Malaysia)|Women,<br> Family and<br> Community Development]] |list4=[[Hannah Yeoh]]
 
|group4=[[Ministry of Women, Family and Community Development (Malaysia)|Women,<br> Family and<br> Community Development]] |list4=[[Hannah Yeoh]]

Revision as of 02:29, 26 July 2018

Initial visibility: currently defaults to autocollapse

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

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