Difference between revisions of "Template:Amtrak routes"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ghazlarki
m (Acela link)
m (180 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
  | name=Amtrak routes
 
  | name=Amtrak routes
 
  | titlestyle = color:white; background:#{{Rail color|Amtrak}};
 
  | titlestyle = color:white; background:#{{Rail color|Amtrak}};
  | title      = [[Amtrak|<span style="color:white;">Amtrak</span>]] [[list of Amtrak routes|<span style="color:white;">routes</span>]]
+
  | title      = {{colored link|white|Amtrak}} {{colored link|white|list of Amtrak routes|routes}}
 
|listclass = hlist
 
|listclass = hlist
 
|groupstyle = background:#DBE0E4; color:black;
 
|groupstyle = background:#DBE0E4; color:black;
Line 10: Line 10:
 
{{Navbox|subgroup
 
{{Navbox|subgroup
 
  | groupstyle = background:#DEEEF8; color:black;
 
  | groupstyle = background:#DEEEF8; color:black;
  | group1='''West'''
+
  | group1=West
 
  | list1=
 
  | list1=
 
* {{lnl|Amtrak|California Zephyr}}
 
* {{lnl|Amtrak|California Zephyr}}
Line 18: Line 18:
 
* {{lnl|Amtrak|Sunset Limited}}
 
* {{lnl|Amtrak|Sunset Limited}}
 
* {{lnl|Amtrak|Texas Eagle}}
 
* {{lnl|Amtrak|Texas Eagle}}
  | group2='''East'''
+
  | group2=East
 
  | list2=
 
  | list2=
 
* {{lnl|Amtrak|Auto Train}}
 
* {{lnl|Amtrak|Auto Train}}

Latest revision as of 16:20, 20 October 2020

Initial visibility: currently defaults to autocollapse

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

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