Difference between revisions of "Template:HK routes"

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
m (update Route 4)
imported>Jc86035
m (links to Chinese Wikipedia)
Line 28: Line 28:
 
* [[Canal Road, Hong Kong#Canal Road Flyover|Canal Road Flyover]]
 
* [[Canal Road, Hong Kong#Canal Road Flyover|Canal Road Flyover]]
 
* [[Cross-Harbour Tunnel]]
 
* [[Cross-Harbour Tunnel]]
* [[Hong Chong Road]]
+
* {{ill|Hong Chong Road|zh|康莊道}}
 
* [[Princess Margaret Road]]
 
* [[Princess Margaret Road]]
 
* [[Waterloo Road, Hong Kong|Waterloo Road]]
 
* [[Waterloo Road, Hong Kong|Waterloo Road]]
* [[Lion Rock Tunnel]]
+
* {{ill|Lion Rock Tunnel Road|zh|獅子山隧道公路}}
* [[Lion Rock Tunnel Road]]
+
** [[Lion Rock Tunnel]]
 
* [[Sha Tin Road]]
 
* [[Sha Tin Road]]
** Dragon Bridge
 
 
}}
 
}}
  
Line 68: Line 67:
 
* [[Island Eastern Corridor]]
 
* [[Island Eastern Corridor]]
 
* [[Central–Wan Chai Bypass]]
 
* [[Central–Wan Chai Bypass]]
* Rumsey Street Flyover
+
* {{ill|Rumsey Street Flyover|zh|林士街天橋}}
 
* [[Connaught Road|Connaught Road West Flyover]]
 
* [[Connaught Road|Connaught Road West Flyover]]
 
|group2 = until 2019|list2 =
 
|group2 = until 2019|list2 =
Line 76: Line 75:
 
* [[Harcourt Road]]
 
* [[Harcourt Road]]
 
* [[Connaught Road|Connaught Road Central]]
 
* [[Connaught Road|Connaught Road Central]]
* Rumsey Street Flyover
+
* {{ill|Rumsey Street Flyover|zh|林士街天橋}}
 
* [[Connaught Road|Connaught Road West Flyover]]
 
* [[Connaught Road|Connaught Road West Flyover]]
 
}}
 
}}
Line 103: Line 102:
 
{{Navbox|child|group1 = Future|list1 =
 
{{Navbox|child|group1 = Future|list1 =
 
* ''[[Central Kowloon Route]]''
 
* ''[[Central Kowloon Route]]''
* ''[[Trunk Road T2]]''
+
* ''{{ill|Trunk Road T2|zh|東南九龍T2主幹道}}''
* ''[[Tseung Kwan O–Lam Tin Tunnel]]''
+
* ''{{ill|Tseung Kwan O–Lam Tin Tunnel|zh|將軍澳-藍田隧道}}''
 
}}
 
}}
 
}}
 
}}
Line 111: Line 110:
 
|group8style = {{box-shadow border|r|#F08AAF|5px}}
 
|group8style = {{box-shadow border|r|#F08AAF|5px}}
 
|list8 = {{#ifeq:{{#invoke:String|find|{{{1|}}}|r7;}}|0||
 
|list8 = {{#ifeq:{{#invoke:String|find|{{{1|}}}|r7;}}|0||
* [[Tseung Kwan O Tunnel Road]]
+
* {{ill|Wan Po Road|zh|環保大道}}
 +
* {{ill|Tseung Kwan O Tunnel Road|zh|將軍澳隧道公路}}
 
* [[Tseung Kwan O Tunnel]]
 
* [[Tseung Kwan O Tunnel]]
* [[Tseung Kwan O Road]]
+
* {{ill|Tseung Kwan O Road|zh|將軍澳道}}
 
* [[Kwun Tong Road]]
 
* [[Kwun Tong Road]]
 
* [[Lung Cheung Road]]
 
* [[Lung Cheung Road]]
* [[Ching Cheung Road]]
+
* {{ill|Ching Cheung Road|zh|呈祥道}}
 
}}
 
}}
  
Line 139: Line 139:
 
|list10 = {{#ifeq:{{#invoke:String|find|{{{1|}}}|r9;}}|0||
 
|list10 = {{#ifeq:{{#invoke:String|find|{{{1|}}}|r9;}}|0||
 
* [[Shing Mun Tunnels]]
 
* [[Shing Mun Tunnels]]
* [[Shing Mun Tunnel Road]]
+
* {{ill|Shing Mun Tunnel Road|zh|城門隧道公路}}
 
* [[Tai Po Road|Tai Po Road – Sha Tin]]
 
* [[Tai Po Road|Tai Po Road – Sha Tin]]
 
* [[Tolo Highway]]
 
* [[Tolo Highway]]

Revision as of 05:12, 20 January 2019

Template documentation

Usage

How to manage the visibility of template's sections
{{HK routes|section; section; ... section;}}

Here, section is either routes, r1, r2, r3, ..., or r10. Note, the trailing semicolon is important. The example presented above shows all available sections.

Initial visibility: currently defaults to autocollapse

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

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