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

From blackwiki
Jump to navigation Jump to search
imported>Cards84664
(Undid revision 847402995 by Jfruh (talk))
imported>Mackensen
(use generic color template)
Line 8: Line 8:
 
| basestyle = background:#444444;color:white;
 
| basestyle = background:#444444;color:white;
 
| group1 = [[Orange Line (Los Angeles Metro)|{{color|white|Orange Line}}]]
 
| group1 = [[Orange Line (Los Angeles Metro)|{{color|white|Orange Line}}]]
| group1style = text-align:left; {{box-shadow border|r|#{{LACMTA color|Orange}}|5px}}
+
| group1style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Busway|Orange}}|5px}}
 
| list1  =
 
| list1  =
 
* [[North Hollywood station|North Hollywood]]
 
* [[North Hollywood station|North Hollywood]]
Line 29: Line 29:
 
* [[Chatsworth station|Chatsworth]]
 
* [[Chatsworth station|Chatsworth]]
 
| group2 = [[Silver Line (Los Angeles Metro)|{{color|white|Silver Line}}]]
 
| group2 = [[Silver Line (Los Angeles Metro)|{{color|white|Silver Line}}]]
| group2style = text-align:left; {{box-shadow border|r|#{{LACMTA color|Silver}}|5px}}
+
| group2style = text-align:left; {{box-shadow border|r|#{{rcr|Los Angeles Metro Busway|Silver}}|5px}}
 
| list2  =
 
| list2  =
 
* [[El Monte Station|El Monte]]
 
* [[El Monte Station|El Monte]]

Revision as of 14:51, 30 June 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 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.