Difference between revisions of "Template:HKExco"

From blackwiki
Jump to navigation Jump to search
imported>Lmmnhn
imported>Lmmnhn
Line 10: Line 10:
 
| list2  = {{Navbox subgroup
 
| list2  = {{Navbox subgroup
 
   | group1=Senior secretaries
 
   | group1=Senior secretaries
   | list1 =* [[Carrie Lam (politician)|Carrie Lam]]
+
   | list1 =
* [[KC Chan]]
+
* [[Matthew Cheung]]
 +
* [[Paul_Chan_Mo-po|Paul Chan]]
 
* [[Rimsky Yuen]]
 
* [[Rimsky Yuen]]
 
   | group2=Secretaries
 
   | group2=Secretaries
 
   | list2 =* [[Anthony Cheung]]
 
   | list2 =* [[Anthony Cheung]]
* [[Matthew Cheung]]
+
* [[KC Chan]]
 
* [[Gregory So]]
 
* [[Gregory So]]
 
* [[Raymond Tam]]
 
* [[Raymond Tam]]
Line 22: Line 23:
 
* [[Ko Wing-man]]
 
* [[Ko Wing-man]]
 
* [[Wong Kam-sing]]
 
* [[Wong Kam-sing]]
* [[Paul_Chan_Mo-po|Paul Chan]]
 
 
* [[Lau Kong-wah]]
 
* [[Lau Kong-wah]]
 
* [[Clement Cheung]]
 
* [[Clement Cheung]]

Revision as of 07:07, 16 January 2017

Initial visibility: currently defaults to autocollapse

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

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