Difference between revisions of "Template:HKLegco 2012/doc"

From blackwiki
Jump to navigation Jump to search
imported>Svensson1
m
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 12: Line 12:
 
* {{tl|HKLegco 2008}}
 
* {{tl|HKLegco 2008}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Hong Kong political templates|LegCo]]
 
[[Category:Hong Kong political templates|LegCo]]
Line 18: Line 18:
 
[[zh:Template:香港特別行政區第五屆立法會議員]]
 
[[zh:Template:香港特別行政區第五屆立法會議員]]
 
[[zh-yue:Template:香港特別行政區第五屆立法會議員]]
 
[[zh-yue:Template:香港特別行政區第五屆立法會議員]]
</includeonly>
+
}}</includeonly>

Revision as of 16:55, 25 April 2020

Usage

This template will add the category Members of the Legislative Council of Hong Kong to the article. If it is not suitable, Use {{HKLegco|cat=no}} to exclude the category.

Initial visibility: currently defaults to autocollapse

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

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

See also