Difference between revisions of "Template:Baltimore Transit"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(why are we using WMATA color?)
imported>Train2104
(+)
Line 12: Line 12:
 
| group2 =Local Rail
 
| group2 =Local Rail
 
| list2  =  
 
| list2  =  
* {{color box|#{{MTA Maryland color|BWI}}}} [[Baltimore Light Rail|Light Rail]] ([[List of Baltimore Light Rail stations|Stations]])
+
* {{color box|#{{MTA Maryland color|BWI}}}} {{color box|#{{MTA Maryland color|Cromwell}}}} {{color box|#{{MTA Maryland color|Penn}}}} [[Baltimore Light Rail|Light Rail]] ([[List of Baltimore Light Rail stations|Stations]])
 
* {{color box|#{{MTA Maryland color|Subway}}}} [[Baltimore Metro Subway|Metro Subway]]
 
* {{color box|#{{MTA Maryland color|Subway}}}} [[Baltimore Metro Subway|Metro Subway]]
  
Line 83: Line 83:
 
| group8 = Future projects
 
| group8 = Future projects
 
| list8  =  
 
| list8  =  
* [[Red Line (Baltimore)|Red Line]]
+
* {{color box|#{{MTA Maryland color|Red}}}} [[Red Line (Baltimore)|Red Line]]
 
* [[Green Line (Baltimore)|Green Line]]
 
* [[Green Line (Baltimore)|Green Line]]
 
* [[Yellow Line (Baltimore)|Yellow Line]]
 
* [[Yellow Line (Baltimore)|Yellow Line]]

Revision as of 06:11, 9 May 2017

Initial visibility: currently defaults to autocollapse

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

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