Difference between revisions of "Template:LNER Locomotives"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(syntax update)
imported>Frietjes
 
Line 2: Line 2:
 
|name      = LNER Locomotives
 
|name      = LNER Locomotives
 
|state      = <includeonly>{{{state|collapsed}}}</includeonly>
 
|state      = <includeonly>{{{state|collapsed}}}</includeonly>
|titlestyle = background:#FDB15E;
+
|basestyle = background:#FDB15E;
 
|title      = [[Locomotives of the London and North Eastern Railway|London and North Eastern Railway locomotive]]s
 
|title      = [[Locomotives of the London and North Eastern Railway|London and North Eastern Railway locomotive]]s
  
Line 350: Line 350:
 
* K 2-6-0 (Aug 1947)
 
* K 2-6-0 (Aug 1947)
  
|belowstyle = background:#FDB15E;
 
 
|below =  
 
|below =  
*
+
;see also
**see also
+
: [[Steam locomotives of British Railways|British Railways steam locomotives]]
* [[Steam locomotives of British Railways|British Railways steam locomotives]]
+
: [[Locomotives of the Great Western Railway|GWR locomotives]]
* [[Locomotives of the Great Western Railway|GWR locomotives]]
+
: [[Locomotives of the London, Midland and Scottish Railway|LMS locomotives]]
* [[Locomotives of the London, Midland and Scottish Railway|LMS locomotives]]
+
: [[Locomotives of the Southern Railway|Southern Railway locomotives]]
* [[Locomotives of the Southern Railway|Southern Railway locomotives]]
 
 
}}<noinclude>{{documentation |content=
 
}}<noinclude>{{documentation |content=
  

Latest revision as of 20:03, 17 August 2017

Template documentation

Usage

On articles dealing with LNER locomotives, place this near the bottom, above the categories:

{{LNER Locomotives}}

There is one parameter:

  • state - by default the template is uncollapsed. Use |state=autocollapse or |state=collapsed for variant behaviour. See navbox documentation for further details.

Initial visibility: currently defaults to autocollapse

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

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