Difference between revisions of "Template:High-speed rail"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(fix code)
imported>Jklamo
(update - Morocco+Indonesia+Iran U/C, Israel 160 km/h only)
Line 100: Line 100:
 
| group1 = Africa
 
| group1 = Africa
 
| list1  =  
 
| list1  =  
* ''[[Kenitra–Tangier high-speed rail line|Morocco]]''
+
* [[Kenitra–Tangier high-speed rail line|Morocco]]
  
 
| group2 = Americas
 
| group2 = Americas
Line 113: Line 113:
 
| list3  =  
 
| list3  =  
 
* [[High-speed rail in China|China]]
 
* [[High-speed rail in China|China]]
* [[Guangzhou–Shenzhen–Hong Kong Express Rail Link Hong Kong section|''Hong Kong'']]
+
* [[Guangzhou–Shenzhen–Hong Kong Express Rail Link Hong Kong section|Hong Kong]]
 
* ''[[High-speed rail in India|India]]''
 
* ''[[High-speed rail in India|India]]''
* ''[[High-speed rail in Indonesia|Indonesia]]''
+
* [[High-speed rail in Indonesia|Indonesia]]
* ''[[High-speed rail in Iran|Iran]]''
+
* [[High-speed rail in Iran|Iran]]
 
* ''[[High-speed rail in Iraq|Iraq]]''
 
* ''[[High-speed rail in Iraq|Iraq]]''
* ''[[Tel Aviv–Jerusalem railway|Israel]]''
 
 
* [[Shinkansen|Japan]]
 
* [[Shinkansen|Japan]]
 
* ''[[High-speed rail in Kazakhstan|Kazakhstan]]''
 
* ''[[High-speed rail in Kazakhstan|Kazakhstan]]''

Revision as of 01:54, 29 July 2017

Initial visibility: currently defaults to autocollapse

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

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