Difference between revisions of "Template:Inner Mongolia transit"

From blackwiki
Jump to navigation Jump to search
imported>Ombresuvenere
imported>Ombresuvenere
 
Line 9: Line 9:
 
   | groupstyle = width:6.5em;
 
   | groupstyle = width:6.5em;
 
   |group1= Lines in operation
 
   |group1= Lines in operation
   |list1= {{RouteBox|1|Line 1 (Hohhot Metro)|#{{HohhotM color|1}}}}
+
   |list1=  
 +
* {{RouteBox|1|Line 1 (Hohhot Metro)|#{{HohhotM color|1}}}}
 +
* {{RouteBox|2|Line 2 (Hohhot Metro)|#{{HohhotM color|2}}}}
  
 
   |group2= Under construction
 
   |group2= Under construction
 
   |list2=  
 
   |list2=  
* {{RouteBox|2|Line 2 (Hohhot Metro)|#{{HohhotM color|2}}}}
 
  
 
   |group3= Under planning
 
   |group3= Under planning

Latest revision as of 04:45, 2 October 2020

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.