Difference between revisions of "Template:Beijing Subway"

From blackwiki
Jump to navigation Jump to search
imported>Ombresuvenere
imported>Ombresuvenere
(following the chinese wikipedia.Line 17 and Line 19 recently official never use "R2" and "R3" so just keep "R2" and "R3" in the infobox of their own page)
Line 33: Line 33:
 
* {{rint|beijing|yf}}
 
* {{rint|beijing|yf}}
 
* {{rint|beijing|yz}}
 
* {{rint|beijing|yz}}
| group3 = Express
+
| group3 = Airport rail link
 
| list3  =  
 
| list3  =  
 
* {{rint|beijing|a}}
 
* {{rint|beijing|a}}
Line 52: Line 52:
 
* {{rint|beijing|14}} {{small|(Lize Section)}}
 
* {{rint|beijing|14}} {{small|(Lize Section)}}
 
* {{rint|beijing|16}} {{small|(South Part)}}
 
* {{rint|beijing|16}} {{small|(South Part)}}
 +
* {{rint|beijing|17}} (R2)
 +
* {{rint|beijing|19}} (R3)
  
 
| group2 = Suburban
 
| group2 = Suburban
Line 61: Line 63:
 
* {{rint|beijing|yf}} {{small|(Branch)}}
 
* {{rint|beijing|yf}} {{small|(Branch)}}
  
| group3 = Express
+
| group3 = Airport rail link
 
| list3  =
 
| list3  =
* {{rint|beijing|17}} (R2)
+
 
* {{rint|beijing|19}} (R3)
 
 
* {{rint|beijing|a}} {{small|(West Ext.)}}
 
* {{rint|beijing|a}} {{small|(West Ext.)}}
 
* {{rint|beijing|n}}
 
* {{rint|beijing|n}}

Revision as of 14:04, 6 February 2019

Initial visibility: currently defaults to autocollapse

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

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