Difference between revisions of "Template:Baltimore Transit"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(why are we using WMATA color?)
imported>Mackensen
(use rail color box for new data module; individual colors apparently no longer in use)
 
(5 intermediate revisions by 5 users not shown)
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]])
+
* {{rcb|system=MTA Maryland|line=Light RailLink|inline=yes}} ([[List of Baltimore Light RailLink stations|Stations]])
* {{color box|#{{MTA Maryland color|Subway}}}} [[Baltimore Metro Subway|Metro Subway]]
+
* {{rcb|system=MTA Maryland|line=Metro Subway|inline=yes}}
  
 
| group3 = [[MARC Train]]
 
| group3 = [[MARC Train]]
 
| list3  =  
 
| list3  =  
* {{color box|#{{MARC color|Camden}}}} [[Camden Line]]
+
* {{rcb|system=MARC|line=Camden|inline=yes}}
* {{color box|#{{MARC color|Penn}}}} [[Penn Line]]
+
* {{rcb|system=MARC|line=Penn|inline=yes}}
  
 
| group4 = Bus
 
| group4 = Bus

Latest revision as of 14:31, 4 May 2019

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.