["title"] = "Deep-level route\n(1898–1908)",
[" terminus"] = {"Wimbledon", "Richmond", "Ealing Broadway", "Hounslow West"},
[" terminus"] = "Mansion House"
},
["Ealing Broadway"] = {
["title"] = "",
[" terminus"] = "Ealing Broadway",
[" terminus"] = {"Upminster", "High Street Kensington"}
},
["Edgware"] = {
["title"] = "",
[" terminus"] = "Wimbledon",
[" terminus"] = "Edgware Road"
},
["Richmond"] = {
["title"] = "",
[" terminus"] = "Richmond",
[" terminus"] = "Upminster"
},
["Upminster"] = {
["title"] = "",
[" terminus"] = "Upminster"
},
["Uxbridge"] = {
["title"] = "(1910–1933)",
[" terminus"] = "Uxbridge",
[" terminus"] = "Upminster"
},
["West"] = {
["title"] = "",
[" terminus"] = {"Ealing Broadway", "Richmond"},
[" terminus"] = {"Upminster", "High Street Kensington"}
},
["Wimbledon"] = {
["title"] = "",
[" terminus"] = "Wimbledon",
[" terminus"] = {"Edgware Road", "Upminster"}
}
}
},
["East London"] = {
["color"] = "ffa300",
["text color"] = "10069f",
["title"] = "East London line",
[" terminus"] = "Shoreditch",
[" terminus"] = {"New Cross", "New Cross Gate"}
},
["Fleet"] = {
["color"] = "5b6770"
},
["Great Northern & Strand"] = {
["title"] = "Great Northern & Strand",
["color"] = "10069f",
[" terminus"] = "Strand",
[" terminus"] = "Wood Green"
},
["Hammersmith & City"] = {
["color"] = "e89cae",
["text color"] = "10069f",
["icon"] = "",
[" terminus"] = "Hammersmith",
[" terminus"] = "Barking"
},
["Hampstead"] = {
["title"] = "Hampstead Tube",
["color"] = "da291c",
[" terminus"] = {"Edgware","Archway"},
[" terminus"] = "Kennington",
["types"] = {
["Edgware"] = {
["title"] = "Edgware branch",
[" terminus"] = "Edgware"
},
["Archway"] = {
["title"] = "Archway branch",
[" terminus"] = "Archway"
}
}
},
["Jubilee"] = {
["color"] = "7c878e",
["icon"] = "",
[" terminus"] = "Stanmore",
[" terminus"] = "Stratford",
["types"] = {
["phase 2"] = {
["title"] = "Phase 2 (never constructed)",
[" terminus"] = {"New Cross Gate", "Lewisham"}
},
["phase 3"] = {
["title"] = "Phase 3 (1980) (never constructed)",
[" terminus"] = {"Woolwich Arsenal", "Beckton"}
}
}
},
["Metropolitan"] = {
["color"] = "840b55",
["icon"] = "",
[" terminus"] = {"Uxbridge", "Amersham", "Chesham", "Watford"},
[" terminus"] = {"Baker Street", "Aldgate"},
["types"] = {
["1868–1939"] = {
["title"] = "(1868–1939)",
[" terminus"] = {"Uxbridge", "Aylesbury", "Chesham", "Watford"}
},
["Stanmore"] = {
["title"] = "Stanmore branch (1932–1939)",
[" terminus"] = "Stanmore",
[" terminus"] = {"Baker Street", "Aldgate"}
},
["Two"] = {
["title"] = "",
[" terminus"] = {"Amersham", "Chesham"}
},
["Three"] = {
["title"] = "",
[" terminus"] = {"Amersham", "Chesham", "Watford"}
},
["Uxbridge"] = {
["title"] = "Uxbridge branch",
[" terminus"] = "Uxbridge"
}
}
},
["Northern"] = {
["line title"] = "Northern line",
["color"] = "000000",
["icon"] = "",
[" terminus"] = {"Edgware", "Mill Hill East", "High Barnet"},
[" terminus"] = {"Battersea Power Station", "Morden"},
["types"] = {
["Charing Cross"] = {
["title"] = "Charing Cross Branch",
[" terminus"] = {"Battersea Power Station", "Morden", "Kennington"}
},
["Bank"] = {
["title"] = "Bank Branch",
[" terminus"] = "Morden"
},
["Edgware"] = {
["title"] = "Edgware branch",
[" terminus"] = "Edgware",
[" terminus"] = {"Battersea Power Station", "Morden", "Kennington"}
},
["High Barnet"] = {
["title"] = "High Barnet branch",
[" terminus"] = {"High Barnet", "Mill Hill East"},
[" terminus"] = {"Battersea Power Station", "Morden", "Kennington"}
},
["Morden"] = {
["title"] = "Morden branch",
[" terminus"] = {"Edgware", "High Barnet", "Mill Hill East"},
[" terminus"] = "Morden"
},
["Northern Heights"] = {
["title"] = "",
[" terminus"] = "Bushey Heath",
[" terminus"] = {"Morden", "Kennington"}
},
["Archway"] = {
["title"] = "Archway branch",
[" terminus"] = "Archway",
[" terminus"] = "Kennington"
}
}
},
["Piccadilly"] = {
["color"] = "10069f",
["icon"] = "",
[" terminus"] = {"Uxbridge", "Rayners Lane", "Heathrow"},
[" terminus"] = {"Cockfosters", "Arnos Grove"},
["types"] = {
["Cockfosters"] = {
["title"] = "",
[" terminus"] = "Cockfosters"
},
["Heathrow"] = {
["title"] = "Heathrow branch",
[" terminus"] = "Heathrow"
},
["Uxbridge"] = {
["title"] = "Uxbridge branch",
[" terminus"] = {"Uxbridge", "Rayners Lane"}
}
}
},
["Victoria"] = {
["color"] = "00a3e0",
["icon"] = "",
[" terminus"] = "Brixton",
[" terminus"] = "Walthamstow Central"
},
["Waterloo & City"] = {
["color"] = "6eceb2",
["text color"] = "10069f",
["icon"] = "",
[" terminus"] = "Waterloo",
[" terminus"] = "Bank"
},
-- Old railway lines, all out of use and using what would eventually become London Underground stations
["District Railway"] = {
["title"] = "District Railway",
["note-mid"] = "(1868–1933)",
["color"] = "007a33",
[" terminus"] = "West Brompton",
[" terminus"] = "Mansion House"
},
["London and South Western Railway"] = {
["title"] = "London and South Western Railway",
["note-mid"] = "(1869–1916)",
["color"] = "CC9999",
[" terminus"] = "Richmond",
[" terminus"] = "West Brompton"
},
["Metropolitan Railway"] = {
["title"] = "Metropolitan Railway",
["note-mid"] = "(1877–1906)",
["color"] = "810541",
[" terminus"] = "Richmond",
[" terminus"] = "Paddington"
},
["Great Western Railway"] = {
["title"] = "Great Western Railway",
["note-mid"] = "(1894–1910)",
["color"] = "8f691e",
[" terminus"] = "Richmond",
[" terminus"] = "Paddington"
},
["Midland Railway"] = {
["title"] = "Midland Railway",
["note-mid"] = "(1878–1880)",
["color"] = "DC143C",
[" terminus"] = "St Pancras",
[" terminus"] = "Earl's Court"
},
-- Colours only for backward compatiblity with LUL colour template
["Crossrail 2"] = {
["title"] = "Crossrail 2",
["color"] = "e1eb5b",
[" terminus"] = "?",
[" terminus"] = "?"
},
["London Cable Car"] = {
["title"] = "London Cable Car",
["color"] = "c8102e",
[" terminus"] = "?",
[" terminus"] = "?"
},
["London River Services"] = {
["title"] = "London River Services",
["color"] = "00a3e0",
[" terminus"] = "?",
[" terminus"] = "?"
}
},
["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",
["eal"] = "London Cable Car",
["river"] = "London River Services"
}
}  
return p