Difference between revisions of "Template:Conservation designations in Hong Kong"

From blackwiki
Jump to navigation Jump to search
imported>Esperanza 1936
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
| title = [[Conservation in Hong Kong|Conservation designations]] in [[Hong Kong]]
 
| title = [[Conservation in Hong Kong|Conservation designations]] in [[Hong Kong]]
 
| listclass = hlist
 
| listclass = hlist
| state = <includeonly>collapsed</includeonly>
+
| state = {{{state<includeonly>|collapsed</includeonly>}}}
  
| group1 = [[Country park]]s
+
| group1 = [[Conservation in Hong Kong#Country parks|Country parks]]
  
 
| list1 = {{Navbox|child
 
| list1 = {{Navbox|child
Line 40: Line 40:
 
   }}
 
   }}
  
| group2 = [[Conservation in Hong Kong|Special Areas]]
+
| group2 = [[Conservation in Hong Kong#Special Areas|Special Areas]]
 
| list2  =
 
| list2  =
 
* [[Lai Chi Wo]]
 
* [[Lai Chi Wo]]
Line 59: Line 59:
 
| below = ''See also: [[Site of Special Scientific Interest (Hong Kong)|Site of Special Scientific Interest]]''
 
| below = ''See also: [[Site of Special Scientific Interest (Hong Kong)|Site of Special Scientific Interest]]''
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Hong Kong environmental templates]]
 
[[Category:Hong Kong environmental templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:25, 9 October 2017

Initial visibility: currently defaults to autocollapse

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

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