Difference between revisions of "Template:Beijing transit"

From blackwiki
Jump to navigation Jump to search
imported>Ramramger
(These are self-choosed colors, not official color)
Line 54: Line 54:
 
* {{rint|beijing|28}} {{small|(CBD Line)}}
 
* {{rint|beijing|28}} {{small|(CBD Line)}}
 
* {{RouteBox|Daxing Airport|Daxing Airport Express|#{{BJS color|newairport}}|white|}} {{small|(North Ext.)}}
 
* {{RouteBox|Daxing Airport|Daxing Airport Express|#{{BJS color|newairport}}|white|}} {{small|(North Ext.)}}
<!--* {{rint|beijing|Yanfang}}&nbsp;{{small|(Branch)}} (Removed from short-term planning)<ref>{{cite news|url=http://www.bjnews.com.cn/news/2019/12/10/659929.html|title=燕房线支线暂缓建设,今年上半年燕房线进站量全路网最低|date=2019-12-10}}</ref>-->
+
 
 +
| group2 = {{rint|light rail|1|link=Trams in China}} Trams in Beijing
 +
| list2 = {{Navbox|child
 +
  | liststyle = width: auto;
 +
  | groupstyle = width: 6.5em;
 +
  | group1 = Lines in operation
 +
  | list1 =
 +
* [[Beijing Subway|Beijing Subway LRT]]
 +
** {{rint|beijing|Western}}
 +
 
 +
  |group2 = Under construction
 +
  |list2 =
 +
* {{rint|light rail|1|link=Trams in China}} [[Trams in Beijing#Yizhuang New Town Modern Tram|Yizhuang New Town Tram]] T1
  
 
}}
 
}}
|group2= {{rint|cn|rail|link=}} {{rint|beijing|bcr}} [[China Railway|CR]] [[Beijing Suburban Railway|S-train]]<br>([[Beijing Suburban Railway]])
+
 
|list2= {{Navbox|subgroup
+
|group3= {{rint|cn|rail|link=}} {{rint|beijing|bcr}} [[China Railway|CR]] [[Beijing Suburban Railway|S-train]]<br>([[Beijing Suburban Railway]])
 +
|list3= {{Navbox|subgroup
 
   | groupwidth = 6.5em
 
   | groupwidth = 6.5em
 
   |group1= Lines in operation
 
   |group1= Lines in operation
Line 67: Line 80:
 
}}
 
}}
  
|group3= [[China Railway|CR]] C-train<br>(intercity railways)
+
|group4= [[China Railway|CR]] C-train<br>(intercity railways)
|list3= {{Navbox|subgroup
+
|list4= {{Navbox|subgroup
 
   | groupwidth = 6.5em
 
   | groupwidth = 6.5em
 
   | group1    = Lines in operation
 
   | group1    = Lines in operation
Line 83: Line 96:
 
}}
 
}}
  
|group4= {{rint|cn|rail|link=}} Other [[China Railway|CR]] railways
+
|group5= {{rint|cn|rail|link=}} Other [[China Railway|CR]] railways
|list4= {{Navbox|subgroup
+
|list5= {{Navbox|subgroup
 
   | groupwidth = 6.5em
 
   | groupwidth = 6.5em
 
   | group1    = Passageways
 
   | group1    = Passageways
Line 108: Line 121:
 
}}
 
}}
  
|group5= Other urban transits
+
|group6= Other urban transits
|list5 = {{Navbox|subgroup
+
|list6 = {{Navbox|subgroup
 
   |group1 = Lines in operation
 
   |group1 = Lines in operation
 
   |list1 =
 
   |list1 =
 
* [[Beijing Bus]]
 
* [[Beijing Bus]]
 
* [[Beijing Bus#Bus Rapid Transit|Beijing Bus Rapid Transit]]
 
* [[Beijing Bus#Bus Rapid Transit|Beijing Bus Rapid Transit]]
* {{rint|light rail|1|link=Trams in China}} [[Beijing Subway|Beijing Subway LRT]]
 
** {{rint|beijing|Western}}
 
  |group2 = Under construction
 
  |list2 =
 
* {{rint|light rail|1|link=Trams in China}} [[Trams in Beijing#Yizhuang New Town Modern Tram|Yizhuang New Town Tram]] T1
 
 
}}
 
}}
  
|group6= Transportation hubs  
+
|group7= Transportation hubs  
|list6= {{Navbox|subgroup
+
|list7= {{Navbox|subgroup
 
   | groupwidth = 6.5em
 
   | groupwidth = 6.5em
 
   | group1    = {{rint|air|link=List of airports in China}} Airports
 
   | group1    = {{rint|air|link=List of airports in China}} Airports
Line 128: Line 136:
 
* [[Beijing Capital International Airport|Beijing Capital (PEK)]]
 
* [[Beijing Capital International Airport|Beijing Capital (PEK)]]
 
* [[Beijing Daxing International Airport|Beijing Daxing (PKX)]]
 
* [[Beijing Daxing International Airport|Beijing Daxing (PKX)]]
<!--[[Beijing Nanyuan Airport|Nanyuan (NAY)]](closed)-->
 
  
 
   | group2    = {{rint|cn|rail}} Railway stations
 
   | group2    = {{rint|cn|rail}} Railway stations

Revision as of 09:38, 6 March 2020

{{Navbox |name = Beijing transit |title=Public transportation in Beijing Metropolitan Area (BJ) |state = autocollapse |listclass = hlist

|group1= Template:Rint Template:Rint Beijing Subway

|list1=

Initial visibility: currently defaults to autocollapse

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

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