Module:Adjacent stations/OC Transpo
Documentation for this module may be created at Module:Adjacent stations/OC Transpo/doc
local on = "%1 station (Ontario)" local ott = "%1 station (Ottawa)" local future = "Confederation Line#Future stations" local p = { ["lang"] = "en-US", ["system title"] = "[[OC Transpo]]", ["system icon"] = "[[File:O-Train icon.png|16px|link=OC Transpo]]", ["system color"] = "ee1a2c", ["name format"] = "font-size: 150%; font-family:Helvetica, sans; font-weight: bolder; line-height: 160%; color: #FFFFFF; background-color: #000000; padding: 0.4em 0.4em 0.4em 0.4em;", ["header background color"] = "ee1a2c", ["header text color"] = "FFFFFF", ["station format"] = { "%1 station", ["Airport"] = ott, ["Algonquin"] = "Baseline station", ["Bank"] = ott, ["Bay"] = ott, ["Bayshore"] = ott, ["Bayview"] = ott, ["Bells Corners"] = "Bells Corners#Transit", ["Carling"] = "[[Dow's Lake station|Dow's Lake]]", ["Fallowfield"] = on, ["Gladstone"] = "[[Corso Italia station|Corso Italia]]", ["Hawthorne"] = ott, ["Hospital"] = "The Ottawa Hospital", ["Kent"] = ott, ["Kìchì Sìbì"] = "Dominion station", ["Kichi Sibi"] = "Dominion station", ["Kichi Zìbì"] = "Dominion station", ["Laurier"] = ott, ["Millennium"] = ott, ["Montreal"] = "[[Montréal station|Montréal]]", ["New Orchard"] = future, ["Pinecrest"] = "Transitway (Ottawa)#West", ["Orléans"] = ott, ["Queensview"] = future, ["Queensway"] = ott, ["Riverside"] = ott, ["Sherbourne"] = future, }, ["lines"] = { ["_default"] = { ["color"] = "0000ff", }, ["1"] = { ["title"] = "[[Confederation Line|Line 1]]", ["color"] = "d52d3a", ["icon"] = "[[File:O-Train Line 1.svg|16px|link=Confederation Line]]", ["text color"] = "ffffff", ["left terminus"] = "Tunney's Pasture", ["right terminus"] = "Blair", }, ["1E"] = { ["title"] = "[[Confederation Line|Line 1]]", ["color"] = "dd5661", ["text color"] = "ffffff", ["left terminus"] = "Tunney's Pasture", ["right terminus"] = "Trim", ["note-mid"] = "Opens 2025", }, ["1W"] = { ["title"] = "[[Confederation Line|Line 1]]", ["color"] = "dd5661", ["text color"] = "ffffff", ["left terminus"] = "Algonquin", ["right terminus"] = "Trim", ["note-mid"] = "Opens 2026", }, ["2"] = { ["title"] = "[[Trillium Line|Line 2]]", ["color"] = "77b821", ["icon"] = "[[File:O-Train Line 2.svg|16px|link=Trillium Line]]", ["text color"] = "ffffff", ["left terminus"] = "Bayview", ["right terminus"] = "Limebank", ["note-mid"] = "Reopens 2024", }, ["3"] = { ["title"] = "[[Confederation Line|Line 3]]", ["color"] = "ae8736", ["icon"] = "[[File:O-Train Line 3.svg|16px|link=Confederation Line]]", ["text color"] = "ffffff", ["left terminus"] = "Moodie", ["right terminus"] = "Trim", ["note-mid"] = "Opens 2026", }, ["4"] = { ["title"] = "[[Trillium Line|Line 4]]", ["color"] = "1ba2db", ["icon"] = "[[File:O-Train Line 4.svg|16px|link=Trillium Line]]", ["text color"] = "ffffff", ["left terminus"] = "Airport", ["right terminus"] = "South Keys", ["note-mid"] = "Opens 2024", }, ["Route 39"] = { ["title"] = "[[Transitway (Ottawa)|Route 39]]", ["color"] = "1a559b", ["left terminus"] = "Blair", ["right terminus"] = "Millennium", }, ["Route 45"] = { ["title"] = "[[Transitway (Ottawa)|Route 45]]", ["color"] = "1a559b", ["left terminus"] = "Hospital", ["right terminus"] = "Hurdman", }, ["Route 57"] = { ["title"] = "[[Transitway (Ottawa)|Route 57]]", ["color"] = "1a559b", ["left terminus"] = "Bells Corners", ["right terminus"] = "Tunney's Pasture", }, ["Route 61"] = { ["title"] = "[[Transitway (Ottawa)|Route 61]]", ["color"] = "1a559b", ["left terminus"] = "Stittsville", ["right terminus"] = "Tunney's Pasture", }, ["Route 62"] = { ["title"] = "[[Transitway (Ottawa)|Route 62]]", ["color"] = "1a559b", ["left terminus"] = "Stittsville", ["right terminus"] = "Tunney's Pasture", }, ["Route 63"] = { ["title"] = "[[Transitway (Ottawa)|Route 63]]", ["color"] = "1a559b", ["left terminus"] = "Innovation", ["right terminus"] = "Tunney's Pasture", }, ["Route 74"] = { ["title"] = "[[Transitway (Ottawa)|Route 74]]", ["color"] = "1a559b", ["left terminus"] = "Riverview", ["right terminus"] = "Tunney's Pasture", }, ["Route 75"] = { ["title"] = "[[Transitway (Ottawa)|Route 75]]", ["color"] = "1a559b", ["left terminus"] = "Cambrian", ["right terminus"] = "Tunney's Pasture", }, ["Route 97"] = { ["title"] = "[[Transitway (Ottawa)|Route 97]]", ["color"] = "1a559b", ["left terminus"] = "Airport", ["right terminus"] = "Hurdman", }, ["Route 98"] = { ["title"] = "[[Transitway (Ottawa)|Route 98]]", ["color"] = "1a559b", ["left terminus"] = "Hawthorne", ["right terminus"] = "Hurdman", }, ["Route 99"] = { ["title"] = "[[Transitway (Ottawa)|Route 99]]", ["color"] = "1a559b", ["left terminus"] = "Barrhaven Centre", ["right terminus"] = "Hurdman", }, -- Generic color codes ["Connexion"] = { ["title"] = "[[OC Transpo]]", ["color"] = "9b5ba4", }, ["Event"] = { ["title"] = "[[OC Transpo]]", ["color"] = "FFFFFF", }, ["Frequent"] = { ["title"] = "[[OC Transpo]]", ["color"] = "f26432", }, ["Local"] = { ["title"] = "[[OC Transpo]]", ["color"] = "404040", }, ["Rapid"] = { ["title"] = "[[OC Transpo]]", ["color"] = "1a559b", }, ["School"] = { ["title"] = "[[OC Transpo]]", ["color"] = "FFFFFF", }, ["Shopper"] = { ["title"] = "[[OC Transpo]]", ["color"] = "FFFFFF", }, }, ["aliases"] = { ["confederation"] = "1", ["line 1"] = "1", ["trillium"] = "2", ["line 2"] = "2", ["line 3"] = "3", ["line 4"] = "4", ["airport"] = "4", ["39"] = "Route 39", ["45"] = "Route 45", ["57"] = "Route 57", ["61"] = "Route 61", ["62"] = "Route 62", ["63"] = "Route 63", ["74"] = "Route 74", ["75"] = "Route 75", ["97"] = "Route 97", ["98"] = "Route 98", ["99"] = "Route 99", ["connexion"] = "Connexion", ["frequent"] = "Frequent", ["local"] = "Local", ["rapid"] = "Rapid", } } return p