Difference between revisions of "Template:British Rail"

From blackwiki
Jump to navigation Jump to search
imported>Woohookitty
(rem redundant cat)
imported>Jonesey95
(Fix Linter errors)
 
(44 intermediate revisions by 27 users not shown)
Line 1: Line 1:
{| class="navbox collapsible {{{state|autocollapse}}}" style="margin:1em auto 0; width:50em;"
+
{{Navbox
|-
+
|name = British Rail
! colspan="2" style="background:#ABCDEF;"| {{tnavbar-collapsible| [[British Rail#Sectorisation|Sectors of British Rail]] |British Rail sectors}}
+
|title = [[British Rail]]
|-
+
|state = {{{state|autocollapse}}}
| style="text-align:right; vertical-align:top;"| '''Passenger:'''
+
|listclass = hlist
|<font color="#2F4F4F">█</font><font color="#C41E3A">█</font>&nbsp;[[InterCity (British Rail)| InterCity]] &nbsp;&nbsp;&nbsp; ''<font color="#0047AB">█</font><font color="#C41E3A">█</font><font color="#cecece">█</font>''&nbsp;[[Network SouthEast]] &nbsp;&nbsp;&nbsp; <font color="#003399">█</font><font color="#00cccc">█</font>&nbsp;[[Regional Railways]]
+
 
|-
+
|group1 = [[History of rail transport in Great Britain 1948–1994|History]]
| style="text-align:right; vertical-align:top;"| '''Freight:'''
+
|list1 =
|<font color="#000000">█</font><font color="#ffa000">█</font>&nbsp;[[Load-Haul]] &nbsp;&nbsp;&nbsp;<font color="#002FA7">█</font><font color="#cccccc">█</font>&nbsp;[[Mainline Freight]] &nbsp;&nbsp;&nbsp; <font color="#2F4F4F">█</font><font color="#e32636">█</font>&nbsp;[[Rail Express Systems]] <br/><font color="#e32636">█</font><font color="#FFD800">█</font>&nbsp;[[Railfreight Distribution]] &nbsp;&nbsp;&nbsp; <font color="#708090">█</font><font color="#cccccc">█</font>&nbsp;[[Trainload Freight]] &nbsp;&nbsp;&nbsp; <font color="#003399">█</font><font color="#e32636">█</font>&nbsp;[[Trans-Rail]]
+
*[[1955 Modernisation Plan]]
|}<noinclude>
+
*[[Beeching cuts]]
[[Category:British Rail|{{PAGENAME}}]]
+
*[[Serpell Report]]
[[Category:Rail transport navigational boxes of the United Kingdom|{{PAGENAME}}]]
+
*[[Privatisation of British Rail]]
 +
*[[List of accidents on British Rail|Accidents]]
 +
 
 +
|group2 = Legislation
 +
|list2 =
 +
*[[Transport Act 1947]]
 +
*[[Transport Act 1962]]
 +
*[[Railways Act 1993]]
 +
*[[Transport Act 2000]]
 +
 
 +
|group3 = Management
 +
|list3 =
 +
*[[British Transport Commission]]
 +
*[[British Railways Board]]
 +
*[[BRB (Residuary) Limited]]
 +
 
 +
|group4 = Regions
 +
|list4 =
 +
*[[Eastern Region of British Railways|Eastern]]
 +
*[[London Midland Region of British Railways|London Midland]]
 +
*[[North Eastern Region of British Railways|North Eastern]]
 +
*[[Scottish Region of British Railways|Scottish]]
 +
*[[Southern Region of British Railways|Southern]]
 +
*[[Western Region of British Railways|Western]]
 +
 
 +
|group5 = {{longitem|Services, sectors<br/>and subsidiaries}}
 +
|list5 =
 +
  {{Navbox|subgroup |groupstyle=font-weight:normal;
 +
  |group1 = Passenger
 +
  |list1 =
 +
* [[InterCity (British Rail)|InterCity]]  
 +
* [[Network NorthWest]]
 +
* [[Network SouthEast]]  
 +
* [[Regional Railways]]  
 +
* [[ScotRail (British Rail)|ScotRail]]
 +
  |group2 = Freight
 +
  |list2 =
 +
* [[Railfreight]]
 +
* [[Rail Express Systems]]
 +
* [[Railfreight Distribution]]
 +
** [[Speedlink]]
 +
** [[Freightliner Group|Freightliner]]
 +
* [[Trainload Freight]]
 +
* [[Red Star Parcels]]
 +
  |group3 = Other
 +
  |list3 =
 +
*[[British Rail Engineering Limited|British Rail Engineering]]
 +
*[[British Rail Research Division]]
 +
*[[British Rail Telecommunications]]
 +
*[[British Transport Hotels]]
 +
*[[Sealink]]
 +
*[[Travellers Fare]]
 +
 
 +
|group6 = Media and Publicity
 +
|list6 =
 +
* [[British Transport Films]]
 +
* [[British Rail Passenger Timetable]]
 +
* [[Railnews]]
 +
*''[[Killing Time (public information film)|Killing Time]]''
 +
*''[[The Age of the Train]]''
 +
*''[[Night Mail (advert)|Night Mail]]''
 +
* [[The wrong type of snow]]
 +
}}
 +
 
 +
|below = See also [[:Category:British Rail]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Rail transport navigational boxes of the United Kingdom]]
 +
[[Category:Railway company templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:45, 7 June 2020

Initial visibility: currently defaults to autocollapse

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

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