Difference between revisions of "Template:HK government policy bureaux"

From blackwiki
Jump to navigation Jump to search
imported>Citobun
 
(5 intermediate revisions by 5 users not shown)
Line 2: Line 2:
  
 
|name = HK government policy bureaux
 
|name = HK government policy bureaux
|title = {{flagicon|HKG}} [[Hong_Kong_Government#Government_offices_and_policy_bureaus|Policy bureaux of the Hong Kong Government]]
+
|title = {{flagicon|HKG}} [[Government of Hong Kong#Government_offices_and_policy_bureaus|Policy bureaux of the Hong Kong Government]]
 
|listclass = hlist
 
|listclass = hlist
|state = autocollapse
+
|state = {{{state|autocollapse}}}
  
 
|above = [[Government Secretariat (Hong Kong)|Government Secretariat]]
 
|above = [[Government Secretariat (Hong Kong)|Government Secretariat]]
Line 19: Line 19:
 
* [[Food and Health Bureau|Food and Health]]
 
* [[Food and Health Bureau|Food and Health]]
 
* [[Home Affairs Bureau|Home Affairs]]
 
* [[Home Affairs Bureau|Home Affairs]]
 +
* [[Innovation and Technology Bureau|Innovation and Technology]]
 
* [[Labour and Welfare Bureau|Labour and Welfare]]
 
* [[Labour and Welfare Bureau|Labour and Welfare]]
 
* [[Security Bureau (Hong Kong)|Security]]
 
* [[Security Bureau (Hong Kong)|Security]]
 
* [[Transport and Housing Bureau|Transport and Housing]]
 
* [[Transport and Housing Bureau|Transport and Housing]]
  
|group2 = Previous bureaux<br /><small>''(after 1997)</small>''|list2  =
+
|group2 = Previous bureaux<br /><small>''(after 1997)''</small>
 +
|list2  =
 
* [[Broadcasting, Culture and Sport Bureau|Broadcasting, Culture and Sport]]  
 
* [[Broadcasting, Culture and Sport Bureau|Broadcasting, Culture and Sport]]  
 
* [[Commerce and Industry Bureau|Commerce and Industry]]  
 
* [[Commerce and Industry Bureau|Commerce and Industry]]  
Line 46: Line 48:
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Hong Kong government policy bureaux|µ]]
 
[[Category:Hong Kong government policy bureaux|µ]]
 
[[Category:Hong Kong Government templates]]
 
[[Category:Hong Kong Government templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:21, 9 January 2020

Initial visibility: currently defaults to autocollapse

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

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