Documentation for this module may be created at વિભાગ:Adjacent stations/London Underground/doc

local x = "%1 station"
local rs = "%1 railway station"
local default = "%1 tube station"

local p = {
	["system title"] = "[[London Underground]]",
	["system icon"] = "[[File:Underground no-text.svg|18px|link=London Underground]]",
	["station format"] = {
		default,
		
		-- Multi-line stations
		["Bank"] = "Bank and Monument stations",
		["Barking"] = x,
		["Blackfriars"] = x,
		["Bond Street"] = x,
		["Cannon Street"] = x,
		["Charing Cross"] = {
			default,
			["District"] = "Embankment tube station",
		},
		["Edgware Road"] = {
			"Edgware Road tube station (Circle, District and Hammersmith & City lines)",
			["Bakerloo"] = "Edgware Road tube station (Bakerloo line)"
		},
		["Ealing Broadway"] = x,
		["Farringdon"] = x,
		["Finsbury Park"] = x,
		["Hammersmith"] = {
			"Hammersmith tube station (Circle and Hammersmith & City lines)",
			["District"] = "Hammersmith tube station (District and Piccadilly lines)",
			["Piccadilly"] = "Hammersmith tube station (District and Piccadilly lines)"
		},
		["Liverpool Street"] = x,
		["London Bridge"] = x,
		["Monument"] = "Bank and Monument stations",
		["Moorgate"] = x,
		["Paddington"] = {
			"Paddington tube station (Bakerloo, Circle and District lines)",
			["Hammersmith & City"] = "Paddington tube station (Circle and Hammersmith & City lines)",
			["Circle"] = {
				["section 1"] = "Paddington tube station (Circle and Hammersmith & City lines)",
				["section 6"] = "Paddington tube station (Bakerloo, Circle and District lines)"
			},
			["Metropolitan Railway"] = "Paddington tube station (Circle and Hammersmith & City lines)",
			["Great Western Railway"] = "Paddington tube station (Circle and Hammersmith & City lines)"
		},
		["Shepherd's Bush"] = {
			default,
			["Metropolitan"] = "Shepherd's Bush Market tube station",
			["London and South Western Railway"] = "Shepherd's Bush railway station (1869–1916)"
		},
		["Stratford"] = x,
		["Swiss Cottage"] = 
		{
			default,
			["Metropolitan"] = "Swiss Cottage tube station (1868–1940)"
		},
		["Tottenham Court Road"] = x,
		["West Ham"] = x,
		["Wood Green"] = {
			default,
			["Great Northern & Strand"] = "Alexandra Palace railway station",
		},
		["Wood Lane"] = {
			default,
			["Central"] = "Wood Lane tube station (Central line)",
			["Metropolitan"] = "Wood Lane tube station (Metropolitan line)",
		},
		
		-- Bakerloo line
		["Bushey"] = rs,
		["Carpenders Park"] = rs,
		["Harlesden"] = x,
		["Harrow & Wealdstone"] = x,
		["Hatch End"] = rs,
		["Headstone Lane"] = rs,
		["North Wembley"] = x,
		["Old Oak Common"] = rs,
		["Queen's Park"] = "Queen's Park station (England)",
		["South Kenton"] = x,
		["Stonebridge Park"] = x,
		["Victoria"] = "London Victoria station",
		["Wembley Central"] = x,
		["Whitechapel"] = x,
		["Willesden Junction"] = x,
		
		-- Central line
		["Greenford"] = x,
		["Post Office"] = "St Paul's tube station",
		["South Ruislip"] = x,
		["West Ruislip"] = x,
		
		-- Circle line
		
		-- District line
		["Gunnersbury"] = x,
		["Hanwell"] = rs,
		["Heston & Hounslow"] = "Hounslow Central tube station",
		["Hounslow Barracks"] = "Hounslow West tube station",
		["Kew Gardens"] = "Kew Gardens station (London)",
		["Langley"] = rs,
		["Richmond"] = "Richmond station (London)",
		["Slough"] = rs,
		["South Acton"] = "South Acton railway station (England)",
		["Southall"] = rs,
		["Upminster"] = x,
		["West Brompton"] = x,
		["West Drayton"] = rs,
		["West Ealing"] = rs,
		["Wimbledon"] = x,
		["Windsor"] = "Windsor & Eton Central railway station",

		-- Hammersmith & City line
		
		-- Jubilee line
		["Canada Water"] = x,
		["Canning Town"] = x,
		["Fenchurch Street"] = rs,
		["Silvertown"] = rs,

		-- Metropolitan line
		["Amersham"] = x,
		["Aylesbury"] = rs,
		["Brill"] = rs,
		["Chalfont & Latimer"] = x,
		["Chorleywood"] = x,
		["Harrow-on-the-Hill"] = x,
		["Kensington (Addison Road)"] = "Kensington (Olympia) station",
		["Rickmansworth"] = x,
		["Verney Junction"] = rs,
		["Watford High Street"] = rs,
		["Watford Junction"] = rs,

		-- Northern line
		["Alexandra Palace"] = "Alexandra Palace railway station (1873–1954)",
		["Balham"] = x,
		["Cranley Gardens"] = rs,
		["Crouch End"] = rs,
		["Essex Road"] = rs,
		["Kentish Town"] = x,
		["Mill Hill (The Hale)"] = rs,
		["Muswell Hill"] = rs,
		["Old Street"] = x,
		["Stroud Green"] = rs,

		-- Piccadilly line
		["Dover Street"] = "Green Park tube station",
		["Heathrow Terminal 5"] = x,
		--psudo station entry for display as terminal
		["Heathrow"] = "[[Heathrow Airport]] ([[Heathrow Terminal 4 tube station|Terminal 4]] or [[Heathrow Terminal 5 station|Terminal 5]])",

		-- Victoria line
		["Blackhorse Road"] = x,
		["Highbury & Islington"] = x,
		["Seven Sisters"] = x,
		["Vauxhall"] = x,
		["Tottenham Hale"] = x,
		["Walthamstow Central"] = x,
		["Walthamstow Wood Street"] = "Wood Street railway station",

		-- Waterloo & City line
		
		-- Historical lines
		["Addison Road"] = "Kensington (Olympia) station",
		["Custom House"] = x,
		["Deptford Road"] = "Surrey Quays railway station",
		["Drayton Park"] = rs,
		["Gillespie Road"] = "Arsenal tube station",
		["Hammersmith (Grove Road)"] = rs,
		["Harringay"] = rs,
		["Hornsey"] = rs,
		["New Cross"] = rs,
		["New Cross Gate"] = rs,
		["Rotherhithe"] = rs,
		["Shadwell"] = rs,
		["St Pancras"] = rs,
		["Strand"] = "Aldwych tube station",
		["Surrey Docks"] = "Surrey Quays railway station",
		["Surrey Quays"] = rs,
		["Wapping"] = rs,
		["Woolwich Arsenal"] = x,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 line]]",
			["color"] = "10069f",
			["text color"] = "ffffff"
		},
		["Bakerloo"] = {
			["color"] = "a45a2a",
			["left terminus"] = "Harrow & Wealdstone",
			["right terminus"] = "Elephant & Castle",
			["types"] = {
				["Stanmore"] = {
					["title"] = "[[Bakerloo line#Stanmore branch|Stanmore branch]] (1939–1979)",
					["left terminus"] = "Stanmore",
					["right terminus"] = "Elephant & Castle"
				},
			},
		},
		["Central"] = {
			["title"] = "[[Central line (London Underground)|Central line]]",
			["color"] = "da291c",
			["left terminus"] = {"Ealing Broadway", "West Ruislip"},
			["right terminus"] = {"Epping", "Hainault", "Woodford", ["via"] = "Newbury Park"},
			["types"] = {
				["Ealing Broadway"] = {
					["title"] = "Ealing Broadway branch",
					["left terminus"] = "Ealing Broadway"
				},
				["Ruislip"] = {
					["title"] = "Ruislip Branch",
					["left terminus"] = "West Ruislip"
				},
			},
		},
		["Circle"] = {
			["title"] = "[[Circle line (London Underground)|Circle line]]",
			["color"] = "ffcd00",
			["left terminus"] = {"Edgware Road", ["via"] = "Tower Hill"},
			["right terminus"] = {"Hammersmith", ["via"] = "Victoria"},
			["types"] = {
				["section 1"] = {
					["title"] = "",
					["left terminus"] = "Hammersmith",
					["right terminus"] = {"Edgware Road", ["via"] = "Aldgate"}
				},
				["section 2"] = {
					["title"] = "",
					["left terminus"] = {"Hammersmith", ["via"] = "King's Cross St Pancras"},
					["right terminus"] = {"Edgware Road", ["via"] = "Victoria"}
				},
				["section 3"] = {
					["title"] = "",
					["left terminus"] = {"Edgware Road", ["via"] = "Victoria"},
					["right terminus"] = {"Hammersmith", ["via"] = "King's Cross St Pancras"}
				},
				["section 4"] = {
					["title"] = "",
					["left terminus"] = {"Edgware Road", ["via"] = "Victoria"},
					["right terminus"] = {"Hammersmith", ["via"] = "Tower Hill"}
				},
				["section 5"] = {
					["title"] = "",
					["left terminus"] = "Edgware Road",
					["right terminus"] = {"Hammersmith", ["via"] = "Tower Hill"}
				},
				["section 6"] = {
					["title"] = "",
					["left terminus"] = {"Hammersmith", ["via"] = "Tower Hill"},
					["right terminus"] = "Edgware Road"
				}
			}
		},
		["Chelsea-Hackney"] = {
			["color"] = "8cc63e",
		},
		["District"] = {
			["color"] = "007a33",
			["left terminus"] = {"Wimbledon" , "Richmond" , "Ealing Broadway"},
			["right terminus"] = {"Upminster" , "High Street Kensington" , "Edgware Road"},
			["types"] = {
				["Deep"] = {	--Abandoned plan
					["title"] = "Deep-level route\n(1898–1908)",
					["left terminus"] = {"Wimbledon" , "Richmond" , "Ealing Broadway" , "Hounslow West"},
					["right terminus"] = "Mansion House"
				},
				["Ealing Broadway"] = {
					["title"] = "",
					["left terminus"] = "Ealing Broadway",
					["right terminus"] = {"Upminster" , "High Street Kensington"}
				},
				["Edgware"] = {
					["title"] = "",
					["left terminus"] = "Wimbledon",
					["right terminus"] = "Edgware Road"
				},
				["Richmond"] = {
					["title"] = "",
					["left terminus"] = "Richmond",
					["right terminus"] = "Upminster"
				},
				["Upminster"] = {
					["title"] = "",
					["right terminus"] = "Upminster"
				},
				["Uxbridge"] = {
					["title"] = "(1910–1933)",
					["left terminus"] = "Uxbridge",
					["right terminus"] = "Upminster"
				},
				["West"] = {
					["title"] = "",
					["left terminus"] = {"Ealing Broadway" , "Richmond"},
					["right terminus"] = {"Upminster" , "High Street Kensington"}
				},
				["Wimbledon"] = {
					["title"] = "",
					["left terminus"] = "Wimbledon",
					["right terminus"] = {"Edgware Road", "Upminster"}
				}
			}
		},
		["East London"] = {
			["color"] = "ffa300",
			["title"] = "[[East London line#The London Underground era|East London line]]",
			["left terminus"] = "Shoreditch",
			["right terminus"] = {"New Cross" , "New Cross Gate"}
		},
		["Fleet"] = {
			["color"] = "414b56",
		},
		["Great Northern & Strand"] = {
			["title"] = "[[Great Northern, Piccadilly and Brompton Railway|Great Northern & Strand]]",
			["color"] = "10069f",
			["left terminus"] = "Strand",
			["right terminus"] = "Wood Green"
		},
		["Hammersmith & City"] = {
			["color"] = "e89cae",
			["left terminus"] = "Hammersmith",
			["right terminus"] = "Barking"
		},
		["Jubilee"] = {
			["color"] = "7c878e",
			["left terminus"] = "Stanmore",
			["right terminus"] = "Stratford",
			["types"] = {
				["phase 2"] = {
					["title"] = "Phase 2 (never constructed)",
					["right terminus"] = {"New Cross Gate" , "Lewisham"},
				},
				["phase 3"] = {
					["title"] = "Phase 3 (1980) (never constructed)",
					["right terminus"] = {"Woolwich Arsenal" , "Beckton"}
				}
			}
		},
		["Metropolitan"] = {
			["color"] = "840b55",
			["left terminus"] = {"Uxbridge", "Amersham", "Chesham", "Watford"},
			["right terminus"] = {"Baker Street" , "Aldgate"},
			["types"] = {
				["1868–1939"] = {
					["title"] = "(1868–1939)",
					["left terminus"] = {"Uxbridge", "Aylesbury", "Chesham", "Watford"}
				},
				["Stanmore"] = {
					["title"] = "Stanmore branch (1932–1939)",
					["left terminus"] = "Stanmore",
					["right terminus"] = {"Baker Street", "Aldgate"}
				},
				["Two"]  = {
					["title"] = "",
					["left terminus"] = {"Amersham" , "Chesham"}
				},
				["Three"] = {
					["title"] = "",
					["left terminus"] = {"Amersham" , "Chesham" , "Watford"},
				},
				["Uxbridge"] = {
					["title"] = "Uxbridge branch",
					["left terminus"] = "Uxbridge"
				}
			}
		},
		["Northern"] = {
			["line title"] = "Northern line",
			["color"] = "000000",
			["left terminus"] = {"Edgware", "Mill Hill East", "High Barnet"},
			["right terminus"] = {"Battersea Power Station", "Morden"},
			["types"] = {
				["Charing Cross"] = {
					["title"] = "Charing Cross Branch",
					["right terminus"] = {"Battersea Power Station" , "Morden" , "Kennington"}
				},
				["Bank"] = {
					["title"] = "Bank Branch",
					["right terminus"] = "Morden",
				},
				["Edgware"] = {
					["title"] = "",
					["left terminus"] = "Edgware",
					["right terminus"] = {"Battersea Power Station" , "Morden", "Kennington"}
				},
				["High Barnet"] =
				{
					["title"] = "High Barnet branch",
					["left terminus"] = {"High Barnet", "Mill Hill East"},
					["right terminus"] = {"Battersea Power Station", "Morden", "Kennington"}
				},
				["Morden"] = {
					["title"] = "",
					["left terminus"] = {"Edgware" , "High Barnet" , "Mill Hill East"},
					["right terminus"] = "Morden"
				},
				["Northern Heights"] =
				{
					["title"] = "",
					["left terminus"] = "Bushey Heath",
					["right terminus"] = {"Morden", "Kennington"}
				}
			}
		},
		["Piccadilly"] = {
			["color"] = "10069f",
			["left terminus"] = {"Uxbridge" , "Rayners Lane" , "Heathrow"},
			["right terminus"] = {"Cockfosters","Arnos Grove"},
			["types"] = {
				["Cockfosters"] = {
					["title"] = "",
					["right terminus"] = "Cockfosters",
				},
				["Heathrow"] = {
					["title"] = "[[Piccadilly line#Heathrow branch|Heathrow branch]]",
					["left terminus"] = "Heathrow"
				},
				["Uxbridge"] = {
					["title"] = "[[Piccadilly line#Uxbridge branch|Uxbridge branch]]",
					["left terminus"] = {"Uxbridge" , "Rayners Lane"}
				}
			}
		},
		["Victoria"] = {
			["color"] = "00a3e0",
			["left terminus"] = "Brixton",
			["right terminus"] = "Walthamstow Central"
		},
		["Waterloo & City"] = {
			["color"] = "6eceb2",
			["left terminus"] = "Waterloo",
			["right terminus"] = "Bank"
		},
		--  Old railway lines, all out of use and using what would eventually become London Underground stations
		["London and South Western Railway"] = {
			["title"] = "[[London and South Western Railway]]<br/>(1869–1916)",
			["color"] = "CC9999",
			["left terminus"] = "Richmond",
			["right terminus"] = "West Brompton"
		},
		["Metropolitan Railway"] = {
			["title"] = "[[Metropolitan Railway]]<br/>(1877–1906)",
			["color"] = "810541",
			["left terminus"] = "Richmond",
			["right terminus"] = "Paddington"
		},
		["Great Western Railway"] = {
			["title"] = "[[Great Western Railway]]<br/>(1894–1910)",
			["color"] = "8f691e",
			["left terminus"] = "Richmond",
			["right terminus"] = "Paddington"
		},
		["Midland Railway"] = {
			["title"] = "[[Midland Railway]]<br/>(1878–1880)",
			["color"] = "DC143C",
			["left terminus"] = "St Pancras",
			["right terminus"] = "Earl's Court"
		}
	},
	["aliases"] = {
		["bakerloo"] = "Bakerloo",
		["brown"] = "Bakerloo",
		["central"] = "Central",
		["red"] = "Central",
		["yellow"] = "Circle",
		["circle"] = "Circle",
		["district"] = "District",
		["green"] = "District",
		["hammersmith"] = "Hammersmith & City",
		["pink"] = "Hammersmith & City",
		["jubilee"] = "Jubilee",
		["grey"] = "Jubilee",
		["magenta"] = "Metropolitan",
		["met"] = "Metropolitan",
		["metropolitan"] = "Metropolitan",
		["northern"] = "Northern",
		["north"] = "Northern",
		["black"] = "Northern",
		["piccadilly"] = "Piccadilly",
		["dark-blue"] = "Piccadilly",
		["light-blue"] = "Victoria",
		["victoria"] = "Victoria",
		["waterloo"] = "Waterloo & City",
		["turquoise"] = "Waterloo & City"
	}
}

return p