Difference between revisions of "Template:LNER Locomotives"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Frietjes
(syntax update)
Line 10: Line 10:
 
|group1=Pre-grouping<br/>railway designs
 
|group1=Pre-grouping<br/>railway designs
 
|list1=
 
|list1=
{{Navbox subgroup
+
{{Navbox|subgroup
 
| groupstyle = background:#FFE6CC;
 
| groupstyle = background:#FFE6CC;
| liststyle  = width:auto;
 
  
 
|group1 = [[Great Central Railway|Great Central]]
 
|group1 = [[Great Central Railway|Great Central]]
Line 275: Line 274:
 
|group2=LNER designs
 
|group2=LNER designs
 
|list2=
 
|list2=
{{Navbox subgroup
+
{{Navbox|subgroup
 
| groupstyle = background:#FFE6CC;
 
| groupstyle = background:#FFE6CC;
| liststyle  = width:auto;
 
| evenodd    = swap
 
  
 
|group1 = [[Nigel Gresley|Gresley]] (1923–1941)
 
|group1 = [[Nigel Gresley|Gresley]] (1923–1941)

Revision as of 20:03, 17 August 2017

50px 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.