Module:Adjacent stations/London Underground
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by London Underground.
![]() | This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
![]() | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
Current lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Bakerloo London line | Bakerloo or bakerloo or brown |
e87722 |
| |
Central London line | Central or central or red |
e87722 |
| |
Circle London line | Circle or circle or yellow |
e87722 |
| |
District London line | District or district or green |
e87722 |
| |
Hammersmith & City London line | Hammersmith & City or hammersmith or pink |
e87722 |
| |
Jubilee London line | Jubilee or jubilee or grey |
e87722 |
| |
Metropolitan London line | Metropolitan or metropolitan or met or magenta |
e87722 |
| |
Northern London line | Northern or northern or north or black |
e87722 |
| |
Piccadilly London line | Piccadilly or piccadilly or dark-blue |
e87722 |
| |
Victoria London line | Victoria or victoria or light-blue |
e87722 |
| |
Waterloo & City London line | Waterloo & City or waterloo or turquoise |
e87722 |
|
- Route boxes
Bakerloo Central Circle District Hammersmith & City Jubilee Metropolitan Northern Piccadilly Victoria Waterloo & City Wirral[a]
Former and unbuilt lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Chelsea-Hackney London line | Chelsea-Hackney |
e87722 |
| |
East London London line | East London |
e87722 |
| |
Fleet London line | Fleet |
e87722 |
| |
Great Northern & Strand London line | Great Northern & Strand |
e87722 |
| |
Hampstead London line | Hampstead |
e87722 |
|
- Route boxes
Chelsea-Hackney East London Fleet Great Northern & Strand Hampstead
Specifications
The official colour specifications can be found at the website of Transport for London:[1] we use Pantone's own RGB values, because they are more stable than TfL's RGB and CMYK values. In addition:
- The colour for the East London line, when it was part of the London Underground, is Pantone 137.[2]
- The colour for the former Hampstead Tube is red, based on their last known appearance on the tube map of 1923.[3]
- The colour for the Fleet line was Pantone 431: Pantone 432 was too easy to confuse with the Northern line.
Full colour specifications, along with a list of sources used for its development, can be found at Template:London transit icons on the Wikimedia Commons.
Notes
- ^ Wirral demonstrates the invalid value fallback for route boxes.
References
- ^ Colour standard (PDF) (9 ed.). London: Transport for London. 27 November 2024. Archived from the original (PDF) on 2 December 2024. Retrieved 2 December 2024.
- ^ "London Underground line colours". Colour standard (PDF) (2 ed.). London: Transport for London. 28 February 2007. p. 4.5. Archived from the original (PDF) on 23 September 2023. Retrieved 2 December 2024.
- ^ "Pocket Underground map, 1923". London Transport Museum. London: Transport for London. Archived from the original on 8 April 2025. Retrieved 8 April 2025.
local london = "%1 station (London)"
local x = "%1 station"
local p = {
["system title"] = "[[London Overground]]",
["system icon"] = "[[File:Overground notextroundel.svg|15px|link=London Overground]] [[File:National Rail logo.svg|15px|link=National Rail]]",
["station format"] = {
"%1 railway station",
["Barking"] = x,
["Blackhorse Road"] = x,
["Canada Water" ] = x,
["Gunnersbury"] = x,
["Harlesden"] = x,
["Harrow & Wealdstone"] = x,
["Highbury & Islington"] = x,
["Kew Gardens"] = london,
["Kensington (Olympia)"] = x,
["Kenton"] = x,
["Liverpool Street"] = x,
["North Wembley"] = x,
["Queen's Park"] = "Queen's Park station (England)",
["Richmond"] = london,
["Seven Sisters"] = x,
["South Acton"] = "South Acton railway station (England)",
["South Kenton"] = x,
["Stonebridge Park"] = x,
["Stratford"] = x,
["Sydenham"] = "Sydenham railway station (London)",
["Upminster"] = x,
["Walthamstow Central"] = x,
["Wembley Central"] = x,
["West Brompton"] = x,
["West Croydon"] = x,
["Whitechapel"] = x,
["Willesden Junction"] = x,
},
["lines"] = {
["_default"] = {
["title"] = "[[%1 London line]]",
["color"] = "e87722",
},
["North"] = {--Mildmay line
["left terminus"] = "Richmond",
["right terminus"] = "Stratford",
["color"] = "3784c7",
},
["NW"] = {--Psudo line title for the section of North from
--Willesden Junction to Stratford, which is used by some West trains
--but is only labeled as North
--Mildmay line
["title"] = "[[North London line|Mildmay line]]",
["left terminus"] = {"Richmond", "Clapham Junction"},
["right terminus"] = "Stratford",
["color"] = "3784c7",
},
["West"]={--Mildmay line
["left terminus"] = "Clapham Junction",
["right terminus"] = {"Willesden Junction", "Stratford"},
["color"] = "3784c7",
},
--[[
The South and East lines are:
1. Dalston Junction to Clapham Junction - labeled in the succession boxes
as South from Surrey Quays, and as East before that.
2. The line from Highbury & Islington or Dalston Junction to New Cross. Note
that New Cross is one station past Surrey Quays.
3. The line from Highbury & Islington, via Dalston Junction and Surrey
Quays, to either Crystal Palace or West Croydon.
As to the current succession boxes, we have the following:
1. Dalston Junction itself, labeled as either terminus or to Highbury &
Islington. This station will need special handling.
2. The section between Dalston Junction and Surrey Quays. In this module, it
will be called SE.
3. Surrey Quays listing for the East line. This, too, will need special
attention.
4. The rest of the line from Highbury & Islington to Crystal Palace and West
Croydon. This is all labeled as the East Line.
5. New Cross station. Due to the way the template uses the module, the SE
line can easily be used as is for it.
6. South Line, from Surrey Quays onwards.
]]
["South"] = {--Windrush line
["left terminus"]= "Dalston Junction",
["right terminus"] = "Clapham Junction",
["color"] = "ff4e5a",
},
["SE" ]={--Windrush line
["title"]="[[East London line|Windrush line]]",
["left terminus"] = {"Highbury & Islington","Dalston Junction"},
["right terminus"] = {
"New Cross",
"Clapham Junction",
"Crystal Palace",
"West Croydon"
},
["color"] = "ff4e5a",
},
["East"]={--Windrush line
["left terminus"] ="Highbury & Islington",
["right terminus"] = {"Crystal Palace","West Croydon"},
["color"] = "ff4e5a",
},
["Gospel Oak to Barking"]={--Suffragette line
["title"] = "[[Gospel Oak to Barking line|Suffragette line]]",
["left terminus"] = "Gospel Oak",
["right terminus"] = "Barking Riverside",
["color"] = "49c07d",
},
["Watford DC"]={--Lioness line
["title"] = "[[Watford DC line|Lioness line]]",
["left terminus"] = "Watford Junction",
["right terminus"] = "Euston",
["color"] = "feb231",
},
["Chingford"]={--Weaver line
["title"] = "[[Chingford branch line|Weaver line]]",
["left terminus"] = "Liverpool Street",
["right terminus"] = "Chingford",
["color"] = "9a2c62",
},
["Enfield & Cheshunt"]={--Weaver line
["title"] = "[[Enfield & Cheshunt line|Weaver line]]",
["left terminus"] = "Liverpool Street",
["right terminus"] = {"Enfield Town", "Cheshunt"},
["types"] = {
["Enfield"] = {
["title"] = "Enfield branch",
["right terminus"] = "Enfield Town"
},
["Cheshunt"] = {
["title"] = "Cheshunt branch",
["right terminus"] = "Cheshunt"
}
},
["color"] = "9a2c62",
},
["Romford to Upminster"]={--Liberty line
["title"] = "[[Romford–Upminster line|Liberty line]]",
["left terminus"] = "Romford",
["right terminus"] = "Upminster",
["color"] = "5e6867",
}
},
["aliases"] = {
["goblin"] = "Gospel Oak to Barking",
["romford"] = "Romford to Upminster"
}
}
return p