Difference between revisions of "Template:Brightline rail"

From blackwiki
Jump to navigation Jump to search
imported>Mjdestroyerofworlds
(unsourced misnomer)
imported>Mjdestroyerofworlds
(service colors implemented for text - contrast still maintained for readability)
 
Line 2: Line 2:
 
| name      = Brightline rail
 
| name      = Brightline rail
 
| state      = {{{state|<includeonly>collapsed</includeonly>}}}
 
| state      = {{{state|<includeonly>collapsed</includeonly>}}}
| title      = [[Brightline]]
+
| title      = [[Brightline|<span style="color:#5d6771;">Brightline</span>]]
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| groupstyle = white-space:nowrap;
+
| groupstyle = white-space:nowrap; color:#5d6771;
 
| basestyle  = background:#{{rcr|Brightline}};
 
| basestyle  = background:#{{rcr|Brightline}};
  
Line 10: Line 10:
 
| list1      = {{Navbox|child
 
| list1      = {{Navbox|child
  
| group1    = [[Brightline#Stations|Florida]]
+
| group1    = [[Brightline#Stations|<span style="color:#5d6771;">Florida</span>]]
 
| group1style= background:#{{rcr|Brightline}};
 
| group1style= background:#{{rcr|Brightline}};
 
| list1      =
 
| list1      =
Line 37: Line 37:
 
* [[Siemens Venture]]
 
* [[Siemens Venture]]
  
|below      = ''Italics indicate future services''
+
|below      = <span style="color:#5d6771;">''Italics indicate future services''</span>
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 20:44, 26 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.