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",

["station format"] = {

"%1 railway station",

-- Liberty

["Upminster"] = x,

-- Lioness route

["Harrow & Wealdstone"] = x,

["Kenton"] = x,

["South Kenton"] = x,

["North Wembley"] = x,

["Wembley Central"] = x,

["Stonebridge Park"] = x,

["Harlesden"] = x,

["Kensal Green"] = x,

["Queen's Park"] = "Queen's Park station (England)",

-- Mildmay route

["Stratford"] = x,

["South Acton"] = "South Acton railway station (England)",

["Gunnersbury"] = x,

["Kew Gardens"] = london,

["Richmond"] = london,

["Kensington (Olympia)"] = x,

["West Brompton"] = x,

-- Suffragette

["Blackhorse Road"] = x,

["Barking"] = x,

-- Weaver

["Liverpool Street"] = x,

["Seven Sisters"] = x,

["Walthamstow Central"] = x,

-- Windrush

["Whitechapel"] = x,

["Canada Water"] = x,

["Sydenham"] = "Sydenham railway station (London)",

["West Croydon"] = x,

-- Interchanges

["Highbury & Islington"] = x,

["Willesden Junction"] = x,

-- Others

},

["lines"] = {

["_default"] = {

["title"] = "London Overground",

["color"] = "e87722",

["text color"] = "000", -- see MOS:COLOR

},

-- New entries

["Liberty"] = {

["title"] = "Liberty line",

["color"] = "606667",

["text color"] = "fff", -- see MOS:COLOR

["note-mid"] = "Romford–Upminster line",

["left terminus"] = "Romford",

["right terminus"] = "Upminster"

},

["Lioness"] = {

["title"] = "Lioness line",

["color"] = "ef9600",

["note-mid"] = "Watford DC line",

["left terminus"] = "Watford Junction",

["right terminus"] = "Euston"

},

["Mildmay"] = {

["title"] = "Mildmay line",

["color"] = "2774ae",

["text color"] = "fff", -- see MOS:COLOR

["note-mid"] = "North London line",

["left terminus"] = {"Clapham Junction","Richmond"},

["right terminus"] = "Stratford",

["types"] = {

--[[

The termini for the West London line are flipped to follow the

north west to south east direction.

]]

["Clapham Junction"] = {

["title"] = "",

["note-mid"] = "West London line",

["left terminus"] = "Stratford",

["right terminus"] = "Clapham Junction"

},

["Richmond"] = {

["title"] = "",

["left terminus"] = "Richmond"

}

}

},

["Suffragette"] = {

["title"] = "Suffragette line",

["color"] = "5ba763",

["text color"] = "fff", -- see MOS:COLOR

["note-mid"] = "Gospel Oak to Barking line",

["left terminus"] = "Gospel Oak",

["right terminus"] = "Barking Riverside"

},

["Weaver"] = {

["title"] = "Weaver line",

["color"] = "893b67",

["text color"] = "fff", -- see MOS:COLOR

["note-mid"] = "Lea Valley lines",

["left terminus"] = "Liverpool Street",

["right terminus"] = {"Cheshunt","Chingford","Enfield Town"},

["types"] = {

["Cheshunt"] = {

["title"] = "",

["right terminus"] = "Cheshunt"

},

["Cheshunt & Enfield Town"] = {

["title"] = "",

["right terminus"] = {"Cheshunt","Enfield Town"}

},

["Chingford"] = {

["title"] = "",

["right terminus"] = "Chingford"

},

["Enfield Town"] = {

["title"] = "",

["right terminus"] = "Enfield Town"

}

}

},

["Windrush"] = {

["title"] = "Windrush line",

["color"] = "d22730",

["text color"] = "fff", -- see MOS:COLOR

["note-mid"] = "East London line",

["left terminus"] = {"Dalston Junction","Highbury & Islington"},

["right terminus"] = {"Clapham Junction","Crystal Palace","New Cross","West Croydon"},

["types"] = {

--[[

The termini for the Battersea Park, Clapham Junction and Crystal

Palace branches are flipped to follow the east to west

direction.

]]

["Battersea Park"] = {

["title"] = "",

["note-mid"] = "Limited service",

["left terminus"] = "Battersea Park",

["right terminus"] = "Dalston Junction"

},

["Clapham Junction"] = {

["title"] = "",

["note-mid"] = "South London line",

["left terminus"] = "Clapham Junction",

["right terminus"] = "Dalston Junction"

},

["Crystal Palace"] = {

["title"] = "",

["left terminus"] = "Crystal Palace",

["right terminus"] = "Highbury & Islington"

},

["Highbury & Islington"] = {

["title"] = "",

["left terminus"] = "Highbury & Islington",

["right terminus"] = {"Crystal Palace","West Croydon"}

},

["New Cross"] = {

["title"] = "",

["left terminus"] = "Dalston Junction",

["right terminus"] = "New Cross"

},

["West Croydon"] = {

["title"] = "",

["left terminus"] = "Highbury & Islington",

["right terminus"] = "West Croydon"

}

}

},

},

["aliases"] = {

["romford"] = "Liberty",

["romford to upminster"] = "Liberty",

["watford dc"] = "Lioness",

["north"] = "Mildmay",

["nw"] = "Mildmay",

["west"] = "Mildmay",

["goblin"] = "Suffragette",

["gospel oak to barking"] = "Suffragette",

["cheshunt"] = "Weaver",

["chingford"] = "Weaver",

["enfield"] = "Weaver",

["enfield & cheshunt"] = "Weaver",

["east"] = "Windrush",

["se"] = "Windrush",

["south"] = "Windrush"

}

}

return p