Difference between revisions of "Template:Mark 2-derived"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
(BREL link)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Navbox  
 
{{Navbox  
 
|name = Mark 2-derived
 
|name = Mark 2-derived
|title= [[BREL]] Mark 2-derived family
+
|title= [[British Rail Engineering Limited]] Mark 2-derived family
 
|state= {{{state|autocollapse}}}
 
|state= {{{state|autocollapse}}}
 
|bodyclass=hlist
 
|bodyclass=hlist
Line 10: Line 10:
 
|list2=  
 
|list2=  
 
* [[British Rail Class 310|Class 310]]
 
* [[British Rail Class 310|Class 310]]
* [[British Rail Class 312|Class 312]]  
+
* [[British Rail Class 312|Class 312]]
 +
* [[Taiwan Railway EMU100 series|EMU 100 (Taiwan)]]
 
|below=  
 
|below=  
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 19:11, 24 July 2016

Initial visibility: currently defaults to autocollapse

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

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