Difference between revisions of "Template:Beijing Subway"

From blackwiki
Jump to navigation Jump to search
imported>Ombresuvenere
imported>Ombresuvenere
Line 6: Line 6:
 
| listclass = hlist
 
| listclass = hlist
  
| group1    = Lines in operation
+
| group1    = In operation
 
| list1    = {{Navbox|child
 
| list1    = {{Navbox|child
  
Line 33: Line 33:
 
* {{rint|beijing|yf}}
 
* {{rint|beijing|yf}}
 
* {{rint|beijing|yz}}
 
* {{rint|beijing|yz}}
| group3 = Airport rail link
+
| group3 = Airport<br>rail link
 
| list3  =  
 
| list3  =  
 
* {{rint|beijing|a}}
 
* {{rint|beijing|a}}
Line 63: Line 63:
 
* {{rint|beijing|yf}} {{small|(Branch)}}
 
* {{rint|beijing|yf}} {{small|(Branch)}}
  
| group3 = Airport rail link
+
| group3 = Airport<br>rail link
 
| list3  =
 
| list3  =
  
Line 75: Line 75:
 
| group1 = Urban
 
| group1 = Urban
 
| list1  =  
 
| list1  =  
* {{rint|beijing|11}} (Winter Olympic Branch Line)
+
* {{rint|beijing|11}} (Winter Olympic section)
 
* {{rint|beijing|28}} (CBD Line)
 
* {{rint|beijing|28}} (CBD Line)
 
| group2 = Suburban
 
| group2 = Suburban
Line 85: Line 85:
 
| list4    = {{Navbox|child
 
| list4    = {{Navbox|child
  
| group1 = Express
 
| list1  =
 
 
* {{rint|beijing|18}} (R1)
 
* {{rint|beijing|18}} (R1)
 
* {{rint|beijing|20}} (R4)
 
* {{rint|beijing|20}} (R4)

Revision as of 14:11, 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.