Difference between revisions of "Template:British Rail DMU"

From blackwiki
Jump to navigation Jump to search
imported>Addbot
m (Bot: Migrating 3 interwiki links, now provided by Wikidata on d:q6729575)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name      = British Rail DMU
 
|name      = British Rail DMU
|state      =  
+
|state      = {{{state|}}}
 
|titlestyle =  
 
|titlestyle =  
 
|title      = [[Diesel multiple unit]]s of the United Kingdom
 
|title      = [[Diesel multiple unit]]s of the United Kingdom
Line 167: Line 167:
 
*[[List of British Rail departmental multiple unit classes|Departmental multiple units]]
 
*[[List of British Rail departmental multiple unit classes|Departmental multiple units]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Rail transport navigational boxes of the United Kingdom|{{PAGENAME}}]]
 
[[Category:Rail transport navigational boxes of the United Kingdom|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 01:58, 1 April 2013

Initial visibility: currently defaults to autocollapse

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

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