Difference between revisions of "Template:Los Angeles Metro Rail stations navbox"

From blackwiki
Jump to navigation Jump to search
imported>Lexlex
(Reorder in new line letter order in preparation for line name change(s))
imported>Lexlex
m (LACMTA Color template with options rcr doesn't transclude)
Line 8: Line 8:
 
| basestyle = background:#444444;color:white;
 
| basestyle = background:#444444;color:white;
 
| group1 = [[Blue Line (Los Angeles Metro)|{{color|white|Blue Line}}]]
 
| group1 = [[Blue Line (Los Angeles Metro)|{{color|white|Blue Line}}]]
| group1style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Rail|Blue}}|5px}}
+
| group1style = text-align:left; {{box-shadow border|r|#{{LACMTA color|A}}|5px}}
 
| list1  =
 
| list1  =
 
* [[7th Street/Metro Center station|7th Street/Metro Center]]  
 
* [[7th Street/Metro Center station|7th Street/Metro Center]]  
Line 33: Line 33:
 
* [[Pacific Avenue station|Pacific Avenue]]  
 
* [[Pacific Avenue station|Pacific Avenue]]  
 
| group2 = [[Red Line (Los Angeles Metro)|{{color|white|Red Line}}]]
 
| group2 = [[Red Line (Los Angeles Metro)|{{color|white|Red Line}}]]
| group2style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Rail|Red}}|5px}}
+
| group2style = text-align:left; {{box-shadow border|r|#{{LACMTA color|B}}|5px}}
 
| list2  =
 
| list2  =
 
* [[Union Station (Los Angeles)#Metro Rail|Union Station]]  
 
* [[Union Station (Los Angeles)#Metro Rail|Union Station]]  
Line 50: Line 50:
 
* [[North Hollywood station|North Hollywood]]
 
* [[North Hollywood station|North Hollywood]]
 
| group3 = [[Green Line (Los Angeles Metro)|{{color|white|Green Line}}]]
 
| group3 = [[Green Line (Los Angeles Metro)|{{color|white|Green Line}}]]
| group3style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Rail|Green}}|5px}}
+
| group3style = text-align:left; {{box-shadow border|r|#{{LACMTA color|C}}|5px}}
 
| list3  =
 
| list3  =
 
* [[Norwalk station (Los Angeles Metro)|Norwalk]]
 
* [[Norwalk station (Los Angeles Metro)|Norwalk]]
Line 67: Line 67:
 
* [[Redondo Beach station|Redondo Beach]]
 
* [[Redondo Beach station|Redondo Beach]]
 
| group4 = [[Purple Line (Los Angeles Metro)|{{color|white|Purple Line}}]]
 
| group4 = [[Purple Line (Los Angeles Metro)|{{color|white|Purple Line}}]]
| group4style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Rail|Purple}}|5px}}
+
| group4style = text-align:left; {{box-shadow border|r|#{{LACMTA color|D}}|5px}}
 
| list4  =
 
| list4  =
 
* [[Union Station (Los Angeles)#Metro Rail|Union Station]]  
 
* [[Union Station (Los Angeles)#Metro Rail|Union Station]]  
Line 85: Line 85:
 
* ''[[Westwood/VA Hospital (Los Angeles Metro station)|Westwood/VA Hospital]]''
 
* ''[[Westwood/VA Hospital (Los Angeles Metro station)|Westwood/VA Hospital]]''
 
| group5 = [[Expo Line (Los Angeles Metro)|{{color|white|Expo Line}}]]
 
| group5 = [[Expo Line (Los Angeles Metro)|{{color|white|Expo Line}}]]
| group5style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Rail|Expo}}|5px}}
+
| group5style = text-align:left; {{box-shadow border|r|#{{LACMTA color|E}}|5px}}
 
| list5  =
 
| list5  =
 
* [[7th Street/Metro Center station|7th Street/Metro Center]]  
 
* [[7th Street/Metro Center station|7th Street/Metro Center]]  
Line 107: Line 107:
 
* [[Downtown Santa Monica station|Downtown Santa Monica]]  
 
* [[Downtown Santa Monica station|Downtown Santa Monica]]  
 
| group6 = [[Gold Line (Los Angeles Metro)|{{color|white|Gold Line}}]]
 
| group6 = [[Gold Line (Los Angeles Metro)|{{color|white|Gold Line}}]]
| group6style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Rail|Gold}}|5px}}
+
| group6style = text-align:left; {{box-shadow border|r|#{{LACMTA color|J}}|5px}}
 
| list6  =
 
| list6  =
 
* [[Atlantic station (Los Angeles Metro)|Atlantic]]
 
* [[Atlantic station (Los Angeles Metro)|Atlantic]]

Revision as of 19:14, 24 October 2019

Initial visibility: currently defaults to autocollapse

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

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