Difference between revisions of "Template:BPA LegCo members"

From blackwiki
Jump to navigation Jump to search
imported>Lmmnhn
 
(4 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
| border    = {{{1|}}}
 
| border    = {{{1|}}}
| title      = [[Business and Professionals Alliance for Hong Kong]]
+
| title      = [[Business and Professionals Alliance for Hong Kong|<span style="color:white;">Business and Professionals Alliance for Hong Kong</span>]]
| titlestyle = color:black; background-color:{{Business and Professionals Alliance for Hong Kong/meta/color}};
+
| titlestyle = color:black; background-color:#06a7e2;
 
| listclass  = hlist
 
| listclass  = hlist
  
| list1 =  '''[[Andrew Leung]]'''
+
| list1 =  '''[[Lo Wai-kwok]]'''<br>
 
* [[Christopher Cheung]]
 
* [[Christopher Cheung]]
 
* [[Jeffrey Lam]]
 
* [[Jeffrey Lam]]
* [[Lau Wong-fat]]
+
* [[Kenneth Lau]]
 +
* [[Andrew Leung]]
 
* [[Priscilla Leung]]
 
* [[Priscilla Leung]]
* [[Lo Wai-kwok]]
+
* [[Ng Wing-ka|Jimmy Ng]]
 
* [[Abraham Shek]]
 
* [[Abraham Shek]]
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 14:21, 17 December 2018

Initial visibility: currently defaults to autocollapse

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

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