Difference between revisions of "Template:MTA Maryland"

From blackwiki
Jump to navigation Jump to search
imported>Mackensen
(use rail color box for new data module)
imported>Mackensen
(use rail color box for new data module)
 
Line 12: Line 12:
 
   | group1 = Baltimore area
 
   | group1 = Baltimore area
 
   | list1 =
 
   | list1 =
* {{color box|#{{MTA Maryland color|Metro}}}} [[Baltimore Metro SubwayLink|Metro SubwayLink]]
+
* {{rcb|system=MTA Maryland|line=Metro Subway|inline=yes}}
* {{color box|#{{MTA Maryland color|Light RailLink}}}} [[Baltimore Light RailLink|Light RailLink]]
+
* {{rcb|system=MTA Maryland|line=Light RailLink|inline=yes}}
  
 
| group2 = Washington area
 
| group2 = Washington area
 
   | list2 =
 
   | list2 =
* {{color box|purple}} ''[[Purple Line (Maryland)|Purple Line]]''
+
* ''{{rcb|system=MTA Maryland|line=Purple|inline=yes}}''
  
 
}}
 
}}

Latest revision as of 14:29, 4 May 2019

Initial visibility: currently defaults to autocollapse

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

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