Difference between revisions of "Template:Hainan transit"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
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

Revision as of 22:23, 31 August 2019

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.