Module:Adjacent stations/London Overground

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"] = {
			["left terminus"] = "Richmond",
			["right terminus"] = "Stratford",
		},
		["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
			["title"] = "[[North London line]]",
			["left terminus"] = {"Richmond", "Clapham Junction"},
			["right terminus"] = "Stratford"
		},
		["West"]={
			["left terminus"] = "Clapham Junction",
			["right terminus"] = {"Willesden Junction", "Stratford"}
		},
	--[[
	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"] = {
			["left terminus"]= "Dalston Junction",
			["right terminus"] = "Clapham Junction"
		},
		["SE" ]={
			["title"]="[[East London line]]",
			["left terminus"] = {"Highbury & Islington","Dalston Junction"},
			["right terminus"] = {
				"New Cross",
				"Clapham Junction",
				"Crystal Palace",
				"West Croydon"
			}
		},
		["East"]={
			["left terminus"] ="Highbury & Islington",
			["right terminus"] = {"Crystal Palace","West Croydon"}
		},
		["Gospel Oak to Barking"]={
			["title"] = "[[Gospel Oak to Barking line]]",
			["left terminus"] = "Gospel Oak",
			["right terminus"] = "Barking Riverside"
		},
		["Watford DC"]={
			["title"] = "[[Watford DC line]]",
			["left terminus"] = "Watford Junction",
			["right terminus"] = "Euston"
		},
		["Chingford"]={
			["title"] = "[[Chingford branch line|Chingford line]]",
			["left terminus"] = "Liverpool Street",
			["right terminus"] = "Chingford"
		},
		["Enfield & Cheshunt"]={
			["title"] = "[[Enfield & Cheshunt 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"
				}
			}
		},
		["Romford to Upminster"]={
			["title"] = "[[Romford–Upminster line|Romford to Upminster line]]",
			["left terminus"] = "Romford",
			["right terminus"] = "Upminster"
		}
	},
	["aliases"] = {
		["goblin"] = "Gospel Oak to Barking",
		["romford"] = "Romford to Upminster"
	}
}


return p