Difference between revisions of "Template:British Rail EMU"

From blackwiki
Jump to navigation Jump to search
imported>Hammersfan
m (Undid revision 647984643 by Yh00157 (talk))
imported>Osbournehutch
m (- -> –)
Line 7: Line 7:
 
|groupstyle =  
 
|groupstyle =  
 
|above =  
 
|above =  
|group1 = AC units<br>(300-399):
+
|group1 = AC units<br>(300–399):
 
|list1  =  
 
|list1  =  
 
* [[British Rail Class 300|300]]
 
* [[British Rail Class 300|300]]
Line 61: Line 61:
 
* [[British Rail Class 399|399]]
 
* [[British Rail Class 399|399]]
  
|group2 = AC units<br>(700-899):
+
|group2 = AC units<br>(700–899):
 
|list2 =
 
|list2 =
 
* [[British Rail Class 700|700]]
 
* [[British Rail Class 700|700]]
Line 86: Line 86:
 
* [[MR electric units|MR Lancaster units]]
 
* [[MR electric units|MR Lancaster units]]
  
|group4 = DC units<br>(400-599):
+
|group4 = DC units<br>(400–599):
 
|list4  =  
 
|list4  =  
 
* [[British Rail Class 401|401]]
 
* [[British Rail Class 401|401]]

Revision as of 18:11, 27 May 2015

Initial visibility: currently defaults to autocollapse

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

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