Difference between revisions of "Template:Eastern Guangdong & Hong Kong transit"

From blackwiki
Jump to navigation Jump to search
imported>Purin128AL
(Added West Rail line extension)
(The labels for Hong Kong and Shenzhen metros were switched)
Line 6: Line 6:
  
 
|group1= {{rint|cn|metro|link=MTR}} {{rint|hk|mtr}} [[MTR|Hong Kong MTR]]
 
|group1= {{rint|cn|metro|link=MTR}} {{rint|hk|mtr}} [[MTR|Hong Kong MTR]]
|list2= {{Navbox|subgroup
+
|list1= {{Navbox|subgroup
 
   | groupwidth = 6.5em
 
   | groupwidth = 6.5em
 
   |group1= Lines in operation
 
   |group1= Lines in operation
Line 38: Line 38:
  
 
|group2= {{rint|cn|metro|link=Shenzhen Metro}} {{rint|shenzhen|metro}} [[Shenzhen Metro]]
 
|group2= {{rint|cn|metro|link=Shenzhen Metro}} {{rint|shenzhen|metro}} [[Shenzhen Metro]]
|list1= {{Navbox|subgroup
+
|list2= {{Navbox|subgroup
 
   | groupwidth = 6.5em
 
   | groupwidth = 6.5em
 
   |group1= Lines in operation
 
   |group1= Lines in operation

Revision as of 14:54, 16 June 2020

Initial visibility: currently defaults to autocollapse

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

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