Difference between revisions of "Template:Malaysian Ministers"

From blackwiki
Jump to navigation Jump to search
Line 51: Line 51:
 
|col1  = {{navbox|subgroup |groupstyle = vertical-align:top;white-space:normal;width:50%;
 
|col1  = {{navbox|subgroup |groupstyle = vertical-align:top;white-space:normal;width:50%;
 
|group1=[[Ministry of Agriculture and Agro-based Industry (Malaysia)|Agriculture and<br> Agro-based Industry]] |list1=[[Sim Tze Tzin]]
 
|group1=[[Ministry of Agriculture and Agro-based Industry (Malaysia)|Agriculture and<br> Agro-based Industry]] |list1=[[Sim Tze Tzin]]
|group2=[[Ministry of Communications and Multimedia (Malaysia)|Communications<br> and Multimedia]] |list2=Eddin Syazlee Shith
+
|group2=[[Ministry of Communications and Multimedia (Malaysia)|Communications<br> and Multimedia]] |list2=[[Eddin Syazlee Shith]]
 
|group3=[[Ministry of Defence (Malaysia)|Defence]] |list3=[[Liew Chin Tong]]
 
|group3=[[Ministry of Defence (Malaysia)|Defence]] |list3=[[Liew Chin Tong]]
 
|group4=[[Ministry of Domestic Trade, Co-operatives and Consumerism (Malaysia)|Domestic Trade,<br> Co-operatives and<br> Consumerism]] |list4=[[Chong Chieng Jen]]
 
|group4=[[Ministry of Domestic Trade, Co-operatives and Consumerism (Malaysia)|Domestic Trade,<br> Co-operatives and<br> Consumerism]] |list4=[[Chong Chieng Jen]]

Revision as of 02:23, 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.