Difference between revisions of "Template:HK routes"
Jump to navigation
Jump to search
Template documentation
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]] | ||
| − | * | + | * {{ill|Hong Chong Road|zh|康莊道}} |
* [[Princess Margaret Road]] | * [[Princess Margaret Road]] | ||
* [[Waterloo Road, Hong Kong|Waterloo Road]] | * [[Waterloo Road, Hong Kong|Waterloo Road]] | ||
| − | * | + | * {{ill|Lion Rock Tunnel Road|zh|獅子山隧道公路}} |
| − | * [[Lion Rock Tunnel | + | ** [[Lion Rock Tunnel]] |
* [[Sha Tin Road]] | * [[Sha Tin Road]] | ||
| − | |||
}} | }} | ||
| 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]]'' | ||
| − | * '' | + | * ''{{ill|Trunk Road T2|zh|東南九龍T2主幹道}}'' |
| − | * '' | + | * ''{{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|| | ||
| − | * | + | * {{ill|Wan Po Road|zh|環保大道}} |
| + | * {{ill|Tseung Kwan O Tunnel Road|zh|將軍澳隧道公路}} | ||
* [[Tseung Kwan O Tunnel]] | * [[Tseung Kwan O Tunnel]] | ||
| − | * | + | * {{ill|Tseung Kwan O Road|zh|將軍澳道}} |
* [[Kwun Tong Road]] | * [[Kwun Tong Road]] | ||
* [[Lung Cheung Road]] | * [[Lung 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]] | ||
| − | * | + | * {{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
Usage
How to manage the visibility of template's sections
{{HK routes|section; section; ... section;}}
- Here,
sectionis eitherroutes,r1,r2,r3, ..., orr10. 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}}
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.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |