Difference between revisions of "Template:Inner Mongolia transit"

From blackwiki
Jump to navigation Jump to search
imported>Ombresuvenere
imported>Ombresuvenere
Line 13: Line 13:
 
   |group2= Under construction
 
   |group2= Under construction
 
   |list2=  
 
   |list2=  
* {{RouteBox|1|Line 1 (Hohhot Metro)|#e60000}}
+
* {{RouteBox|1|Line 1 (Hohhot Metro)|#{{HohhotM color|1}}}}
* {{RouteBox|2|Line 2 (Hohhot Metro)|#999999}}
+
* {{RouteBox|2|Line 2 (Hohhot Metro)|#{{HohhotM color|2}}}}
  
 
   |group3= Under planning
 
   |group3= Under planning
Line 20: Line 20:
 
* {{RouteBox|3|Line 3 (Hohhot Metro)|#999999}}
 
* {{RouteBox|3|Line 3 (Hohhot Metro)|#999999}}
 
* {{RouteBox|4|Line 4 (Hohhot Metro)|#999999}}
 
* {{RouteBox|4|Line 4 (Hohhot Metro)|#999999}}
* {{RouteBox|5|Line 6 (Hohhot Metro)|#999999}}
+
* {{RouteBox|5|Line 5 (Hohhot Metro)|#999999}}
 
}}
 
}}
  

Revision as of 18:08, 20 October 2019

Initial visibility: currently defaults to autocollapse

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

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