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

From blackwiki
Jump to navigation Jump to search
imported>Mjdestroyerofworlds
imported>RickyCourtney
(Minor tweaks and corrections)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Los Angeles Metro Busway stations navbox
+
| name       = Los Angeles Metro Busway stations navbox
| state     = {{{state|autocollapse}}}
+
| state       = {{{state|autocollapse}}}
| title = {{LACMTA link logo}} [[Los Angeles Metro Busway|{{color|white|Los Angeles Metro Busway}}]] [[List of Los Angeles Metro Busway stations|{{color|white|stations}}]]
+
| title       = {{LACMTA link logo}} [[Los Angeles Metro Busway|{{color|white|Los Angeles Metro Busway}}]] [[List of Los Angeles Metro Busway stations|{{color|white|stations}}]]
| bodyclass = hlist
+
| bodyclass   = hlist
| groupstyle= vertical-align:top; white-space:nowrap;
+
| groupstyle = vertical-align:top; white-space:nowrap;
| titlestyle = background:#444444;color:white;
+
| titlestyle = background:#444444;color:white;
| basestyle = background:#444444;color:white;
+
| basestyle   = background:#444444;color:white;
| group1 = [[G Line (Los Angeles Metro)|{{color|white|G Line (Orange)}}]]
+
| group1     = {{LACMTA icon|G}} [[G Line (Los Angeles Metro)|{{color|white|G Line}}]]
| group1style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Busway|Orange}}|5px}}
+
| group1style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Busway|G}}|5px}}
| list1 =
+
| list1       =
 
* [[North Hollywood station|North Hollywood]]
 
* [[North Hollywood station|North Hollywood]]
 
* [[Laurel Canyon station (G Line)|Laurel Canyon]]
 
* [[Laurel Canyon station (G Line)|Laurel Canyon]]
Line 27: Line 27:
 
* [[Nordhoff station (G Line)|Nordhoff]]
 
* [[Nordhoff station (G Line)|Nordhoff]]
 
* [[Chatsworth station|Chatsworth]]
 
* [[Chatsworth station|Chatsworth]]
| group2 = [[J Line (Los Angeles Metro)|{{color|white|J Line (Silver)}}]]
+
| group2     = {{LACMTA icon|J}} [[J Line (Los Angeles Metro)|{{color|white|J Line}}]]
| group2style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Busway|Silver}}|5px}}
+
| group2style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Busway|J}}|5px}}
| list2 =
+
| list2       =
 
* [[El Monte Station|El Monte]]
 
* [[El Monte Station|El Monte]]
 
* [[Cal State LA station|Cal State LA]]
 
* [[Cal State LA station|Cal State LA]]
Line 46: Line 46:
 
* [[Harbor Gateway Transit Center|Harbor Gateway]]
 
* [[Harbor Gateway Transit Center|Harbor Gateway]]
 
* [[Carson station (Los Angeles Metro)|Carson]]
 
* [[Carson station (Los Angeles Metro)|Carson]]
* [[Pacific Coast Highway station (Silver Line)|Pacific Coast Highway]]
+
* [[Pacific Coast Highway station (J Line)|Pacific Coast Highway]]
| below =
+
| below       =
 
* [[Los Angeles County Metropolitan Transportation Authority|{{color|white|Los Angeles County Metropolitan Transportation Authority}}]]
 
* [[Los Angeles County Metropolitan Transportation Authority|{{color|white|Los Angeles County Metropolitan Transportation Authority}}]]
 
<!-- * {{color|white|''Italics'' denote future stations.}} -->
 
<!-- * {{color|white|''Italics'' denote future stations.}} -->

Revision as of 18:19, 1 December 2020

Initial visibility: currently defaults to autocollapse

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

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