Difference between revisions of "Template:Connecticut transit navbox"

From blackwiki
Jump to navigation Jump to search
imported>Daybeers
(Changed Shuttle to Hartford Line; added Valley Flyer)
imported>Ghazlarki
m (Acela link)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name      = Connecticut transit
+
| name      = Connecticut transit navbox
 
| title    = Public transportation in [[Connecticut]]
 
| title    = Public transportation in [[Connecticut]]
 
| state    = {{{state|autocollapse}}}
 
| state    = {{{state|autocollapse}}}
Line 40: Line 40:
 
* [[Shore Line East]]
 
* [[Shore Line East]]
 
* {{lnl|Amtrak|Hartford Line}}
 
* {{lnl|Amtrak|Hartford Line}}
* {{lnl|Amtrak|Acela}}
+
* ''[[Acela]]''
 
* {{lnl|Amtrak|Northeast Regional}}
 
* {{lnl|Amtrak|Northeast Regional}}
 
* {{lnl|Amtrak|Valley Flyer}}
 
* {{lnl|Amtrak|Valley Flyer}}

Latest revision as of 06:04, 29 July 2020

Initial visibility: currently defaults to autocollapse

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

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