Difference between revisions of "Template:Delhi Metro"

From blackwiki
Jump to navigation Jump to search
imported>Sid54126
Line 18: Line 18:
 
| group7style = {{box-shadow border|r|#{{Delhi Metro color|Pink}}|5px}}
 
| group7style = {{box-shadow border|r|#{{Delhi Metro color|Pink}}|5px}}
 
| group8style = {{box-shadow border|r|#{{Delhi Metro color|Magenta}}|5px}}
 
| group8style = {{box-shadow border|r|#{{Delhi Metro color|Magenta}}|5px}}
 +
| group9style = {{box-shadow border|r|#{{Delhi Metro color|Grey}}|5px}}
  
 
| group1 = [[Red Line (Delhi Metro)|Red Line]]
 
| group1 = [[Red Line (Delhi Metro)|Red Line]]
Line 68: Line 69:
 
* [[Janakpuri West metro station|Janakpuri West]]
 
* [[Janakpuri West metro station|Janakpuri West]]
 
* [[Botanical Garden metro station|Botanical Garden]]
 
* [[Botanical Garden metro station|Botanical Garden]]
 +
| group9 = [[Grey Line (Delhi Metro)|Grey line]]
 +
| list9 =
 +
* [[Najafgarh metro station|Najafgarh]]
 +
* [[Dwarka metro station|Dwarka]]
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 07:15, 4 October 2019

Initial visibility: currently defaults to autocollapse

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

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