Difference between revisions of "Template:Brightline rail"

From blackwiki
Jump to navigation Jump to search
imported>RickyCourtney
(Project name change)
imported>Terasail
(Color and route name)
Line 9: Line 9:
 
| group1    = Stations
 
| group1    = Stations
 
| list1      = {{Navbox|child
 
| list1      = {{Navbox|child
| basestyle  = background:#DCDCDC;
 
  
 
| group1    = [[Brightline#Stations|Florida]]
 
| group1    = [[Brightline#Stations|Florida]]
 +
| group1style= background:#{{rcr|Brightline}};
 
| list1      =
 
| list1      =
 
* [[MiamiCentral]]
 
* [[MiamiCentral]]
Line 22: Line 22:
 
* ''[[Tampa]]''
 
* ''[[Tampa]]''
  
| group2    = ''[[Brightline West]]''
+
| group2    = ''[[Brightline West|West Coast]]''
 +
| group2style= background:#58B949;
 
| list2      =
 
| list2      =
 
* ''[[Las Vegas station (XpressWest)|Las Vegas]]''
 
* ''[[Las Vegas station (XpressWest)|Las Vegas]]''

Revision as of 19:49, 17 September 2020

Initial visibility: currently defaults to autocollapse

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

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