Difference between revisions of "Template:EMD cab and cowl"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
 
(10 intermediate revisions by 3 users not shown)
Line 10: Line 10:
 
|listclass = hlist
 
|listclass = hlist
  
| group1 = Cab units<br>([[EMD F-unit|F-]] & [[EMD E-unit|E-units]])
+
| group1 = Passenger cab units<br>([[EMD E-unit|E-units]])
 
| list1  =  
 
| list1  =  
*[[EMD FT|FT]]
 
*[[EMD F2|F2]]
 
*[[EMD F3|F3]]
 
*[[EMD F7|F7]]
 
*[[EMD FP7|FP7]]
 
*[[EMD F9|F9]]
 
*[[EMD FP9|FP9]]
 
*[[EMD FL9|FL9]]
 
 
*[[EMC TA|TA]]
 
*[[EMC TA|TA]]
 
*[[EMC EA/EB|EA/EB]]
 
*[[EMC EA/EB|EA/EB]]
Line 33: Line 25:
 
*[[EMC AA|AA]]
 
*[[EMC AA|AA]]
 
*[[EMC AB6|AB6]]
 
*[[EMC AB6|AB6]]
 
+
| group2 = Freight cab units<br>([[EMD F-units|F-units]])
| group2 = Cowl units
+
| list2 =
| list2  =  
+
*[[EMD FT|FT]]
 +
*[[EMD F2|F2]]
 +
*[[EMD F3|F3]]
 +
*[[EMD F7|F7]]
 +
*[[EMD FP7|FP7]]
 +
*[[EMD F9|F9]]
 +
*[[EMD FP9|FP9]]
 +
*[[EMD FL9|FL9]]
 +
| group3 = [[Cowl unit]]s
 +
| list3 =  
 +
*[[EMD FP45|FP45]]
 
*[[EMD F45|F45]]
 
*[[EMD F45|F45]]
*[[EMD FP45|FP45]]
+
*[[EMD SDP40F|SDP40F]]
 
*[[EMD F40C|F40C]]
 
*[[EMD F40C|F40C]]
 
*[[EMD F40PH|F40PH]]
 
*[[EMD F40PH|F40PH]]
Line 43: Line 45:
 
*[[EMD F40PH|F40PH-2C]]
 
*[[EMD F40PH|F40PH-2C]]
 
*[[EMD F40PH|F40PH-2M]]
 
*[[EMD F40PH|F40PH-2M]]
*[[EMD SDP40F|SDP40F]]
 
 
*[[GMD SD40-2F|SD40-2F]]
 
*[[GMD SD40-2F|SD40-2F]]
 
*[[EMD SD50|SD50F]]
 
*[[EMD SD50|SD50F]]
 +
*[[EMD SD60|SD60F]]
 
*[[EMD F59PH|F59PH]]
 
*[[EMD F59PH|F59PH]]
 
*[[EMD F59PH|F59PHI]]
 
*[[EMD F59PH|F59PHI]]
Line 52: Line 54:
 
*[[EMD F69PHAC|F69PHAC]]
 
*[[EMD F69PHAC|F69PHAC]]
 
*[[EMD DE30AC and DM30AC|DE30AC, DM30AC]]
 
*[[EMD DE30AC and DM30AC|DE30AC, DM30AC]]
 +
* [[EMD SD70|EMD SD70MACH]]
 +
 +
  
 
| below  = ''See also:'' [[List of GM-EMD locomotives]]
 
| below  = ''See also:'' [[List of GM-EMD locomotives]]

Latest revision as of 17:59, 29 March 2020

Initial visibility: currently defaults to autocollapse

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

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