Difference between revisions of "Template:Amtrak rolling stock"

From blackwiki
Jump to navigation Jump to search
blackwiki>Oknazevad
(Remove unneeded plain text)
(Cancelled acc. to article)
Line 21: Line 21:
 
* [[Heritage Fleet]]
 
* [[Heritage Fleet]]
 
* [[Auto Train|Auto Train Autorack]]
 
* [[Auto Train|Auto Train Autorack]]
* [[Next Generation Bi-Level Passenger Rail Car|NGCE Bi-Level]] (future)
+
* [[Next Generation Bi-Level Passenger Rail Car|NGCE Bi-Level]] (project)
  
 
| group2 = Diesel locomotives
 
| group2 = Diesel locomotives

Revision as of 00:14, 7 February 2019

Initial visibility: currently defaults to autocollapse

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

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