Difference between revisions of "Template:Government buildings in Hong Kong"

From blackwiki
Jump to navigation Jump to search
imported>Underwaterbuffalo
(updated names, taking new complex into account)
imported>Citobun
(+ Harbour Building)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
  
|name       = Government buildings in Hong Kong
+
|name = Government buildings in Hong Kong
|title     = {{flagicon|HKG}} [[:Category:Government buildings in Hong Kong|Government buildings in Hong Kong]]
+
|title = {{flagicon|HKG}} [[:Category:Government buildings in Hong Kong|Government buildings in Hong Kong]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|state      = {{{state|autocollapse}}}
+
|above = [[Government of Hong Kong]]
|above     = [[Government of Hong Kong]]
 
  
|list1     =
+
|group1 = Current
* [[Office of the Chief Executive (building)|Office of the Chief Executive]]
+
|list1 = {{Navbox |child
* [[Central Government Complex]]
+
        |group1 = [[Central, Hong Kong|Central]]
* [[Cheung Sha Wan Government Offices]]
+
        |list1 =
 +
* [[Central Government Complex]] (Central Government Offices, [[Legislative Council Complex]], [[Office of the Chief Executive (building)|Office of the Chief Executive]])
 +
* [[Former French Mission Building]] ([[Court of Final Appeal (Hong Kong)|Court of Final Appeal]])
 +
* [[Queensway Government Offices]]
 +
 
 +
        |group2 = Local offices
 +
        |list2 =
 +
* [[Cheung Sha Wan Government Offices|Cheung Sha Wan]]
 +
* [[Kowloon Government Offices|Kowloon]]
 +
* [[Kowloon East Government Offices|Kowloon East]]
 +
* [[Kwun Tong Government Offices|Kwun Tong]]
 +
* [[North Point Government Offices|North Point]]
 +
* [[Sha Tin Government Offices|Sha Tin]]
 +
 
 +
        |group3 = Others
 +
        |list3 =
 +
* [[List of fire stations in Hong Kong|Fire stations]]
 +
* [[Former Kowloon British School]] ([[Antiquities and Monuments Office]])
 +
* [[Harbour Building]]
 +
* [[Immigration Tower]]
 +
* [[List of Hong Kong post offices|Post offices]]
 +
* [[Revenue Tower]]
 +
* [[Wanchai Tower]]
 +
 
 +
        |group4 = Residences
 +
        |list4 =
 +
* [[Government House, Hong Kong|Government House]]
 
* [[Fanling Lodge]]
 
* [[Fanling Lodge]]
* [[List of fire stations in Hong Kong|Fire stations in Hong Kong]]
+
}}
* [[Former Central Government Offices]]
+
 
* [[Former French Mission Building]]
+
|group2 = Former
* [[Former Kowloon British School]]
+
|list2 = {{Navbox |child
 +
        |group1 = Central
 +
        |list1 =
 +
* [[Old Central Government Offices]] (1847-1954)
 +
* [[Former Central Government Offices]] (1957-2011)
 +
* [[Old Supreme Court Building, Hong Kong|Old Supreme Court Building]]
 +
 
 +
        |group2 = Others
 +
        |list2 =
 +
* [[Beaconsfield House]]
 +
* [[Historic police buildings in Hong Kong|Historic police buildings]]
 +
* [[Murray Building]]
 +
 
 +
        |group3 = Residences
 +
        |list3 =
 
* [[Gate Lodge]]
 
* [[Gate Lodge]]
* [[Government House, Hong Kong|Government House]]
 
* [[Historic police buildings in Hong Kong]]
 
* [[Immigration Tower]]
 
* [[Kowloon Government Offices]]
 
* [[Kowloon East Government Offices]]
 
* [[Kwun Tong Government Offices]]
 
* [[Legislative Council Complex]]
 
 
* [[Mountain Lodge]]
 
* [[Mountain Lodge]]
* [[North Point Government Offices]]
+
}}
* [[Old Central Government Offices]]
 
* [[Old Supreme Court Building, Hong Kong|Old Supreme Court Building]]
 
* [[Queensway Government Offices]]
 
* [[Revenue Tower]]
 
* [[Sha Tin Government Offices]]
 
* [[Victoria Peak Garden]]
 
* [[Wanchai Tower]]
 
|below      =
 
  
 +
|below =
 
}}<noinclude>
 
}}<noinclude>
 +
 
{{collapsible option}}
 
{{collapsible option}}
 +
 +
[[Category:Government buildings in Hong Kong|*]]
 
[[Category:Hong Kong Government templates]]
 
[[Category:Hong Kong Government templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:48, 10 January 2020

Initial visibility: currently defaults to autocollapse

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

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