Difference between revisions of "Template:Lightweight Train Locomotives"

From blackwiki
Jump to navigation Jump to search
imported>Wuhwuzdat
m (Redirect bypass from Passenger trains to Train#Passenger trains using popups)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
| name    = Lightweight Train Locomotives
 
| name    = Lightweight Train Locomotives
 
| state = <includeonly>{{{state|autocollapse}}}</includeonly>  
 
| state = <includeonly>{{{state|autocollapse}}}</includeonly>  
| title  = North American Lightweight [[Train#Passenger trains|passenger trains]] [[locomotive]]s  of the 1950s
+
| title  = North American Lightweight [[Train#Passenger trains|passenger train]] [[locomotive]]s  of the 1950s
 
| above  =  
 
| above  =  
 
| below  = See also [[Template:Lightweight Trains|Lightweight Trains]]
 
| below  = See also [[Template:Lightweight Trains|Lightweight Trains]]
 +
| bodyclass = hlist
 
| titlestyle = background:#f88055;
 
| titlestyle = background:#f88055;
 
| groupstyle = background:#bbbbbb;
 
| groupstyle = background:#bbbbbb;
Line 10: Line 11:
  
 
|
 
|
| list1 = [[ACF-Talgo]]{{•}} [[Baldwin RP-210]]{{•}} [[EMD LWT12]]{{•}} [[FM P-12-42|Fairbanks-Morse P-12-42]]
+
| list1 =  
 +
* [[ACF-Talgo]]
 +
* [[Baldwin RP-210]]
 +
* [[EMD LWT12]]
 +
* [[FM P-12-42|Fairbanks-Morse P-12-42]]
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 +
{{collapsible option}}
 
[[Category:Rail transport navigational boxes of the United States|{{PAGENAME}}]]
 
[[Category:Rail transport navigational boxes of the United States|{{PAGENAME}}]]
[[Category:Locomotive navigational templates|{{PAGENAME}}]]
+
[[Category:Locomotive navigational boxes|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:36, 4 May 2013

Initial visibility: currently defaults to autocollapse

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

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