Difference between revisions of "Template:Hainan transit"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
imported>Ombresuvenere
 
(4 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
|listclass = hlist
 
|listclass = hlist
  
|group1= {{rint|light rail|1|link=Trams in China}} [[Haikou Rail Transit|Hankou LRT]]
+
|group1= {{rint|light rail|1|link=Trams in China}} [[Haikou Rail Transit|Haikou LRT]]
 
|list1= {{Navbox|subgroup
 
|list1= {{Navbox|subgroup
 
   | groupstyle = width:6.5em;
 
   | groupstyle = width:6.5em;
Line 27: Line 27:
 
   |group1= Lines in operation
 
   |group1= Lines in operation
 
   |list1=  
 
   |list1=  
 +
* {{RouteBox|T1|Line T1 (Sanya Tram)|#50C878}}
  
 
   |group2= Under construction
 
   |group2= Under construction
 
   |list2=  
 
   |list2=  
* {{RouteBox|T1|Line T1 (Sanya Tram)|#999999}}
 
  
 
   |group3= Under planning
 
   |group3= Under planning
 
   |list3=
 
   |list3=
 +
* {{RouteBox|T1|Line T1 (Sanya Tram)|#50C878}} {{small|(extension)}}
 
* {{RouteBox|T2|Line T2 (Sanya Tram)|#999999}}
 
* {{RouteBox|T2|Line T2 (Sanya Tram)|#999999}}
 
* {{RouteBox|T3|Line T3 (Sanya Tram)|#999999}}
 
* {{RouteBox|T3|Line T3 (Sanya Tram)|#999999}}
Line 39: Line 40:
 
}}
 
}}
  
|group3= Transportation hubs
+
|group3= {{rint|cn|rail|link=}} [[China Railway|CR]] Haikou S-train
 
|list3= {{Navbox|subgroup
 
|list3= {{Navbox|subgroup
 +
  | groupstyle = width:6.5em;
 +
  | group1= Lines in operation
 +
  | list1=
 +
* {{RouteBox|HKS|Haikou Suburban railway|#{{CR color|intercity}}}} (S8)
 +
}}
 +
 +
|group4= Transportation hubs
 +
|list4= {{Navbox|subgroup
 
   | groupstyle = width:6.5em;
 
   | groupstyle = width:6.5em;
 
   | group1    =  {{rint|air|link=List of airports in China}} Int'l airports
 
   | group1    =  {{rint|air|link=List of airports in China}} Int'l airports
Line 47: Line 56:
 
* [[Sanya Phoenix International Airport|Sanya Phoenix (SYX)]]
 
* [[Sanya Phoenix International Airport|Sanya Phoenix (SYX)]]
 
* [[Sanya Hongtangwan International Airport|''Sanya Hongtangwan'']] (U/C)
 
* [[Sanya Hongtangwan International Airport|''Sanya Hongtangwan'']] (U/C)
 +
* [[Yongxing Island Airport|Yongxing Island (XYI)]]
  
 
   | group2    = {{rint|cn|rail}} Major rail stations
 
   | group2    = {{rint|cn|rail}} Major rail stations

Latest revision as of 15:48, 13 October 2020

Initial visibility: currently defaults to autocollapse

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

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