Difference between revisions of "Module:Adjacent stations/OC Transpo"
blackwiki>Blaixx |
blackwiki>Blaixx (Add stage 2 south extension incl. Airport Link) |
||
| Line 19: | Line 19: | ||
["Bells Corners"] = "Bells Corners#Transit", | ["Bells Corners"] = "Bells Corners#Transit", | ||
["Fallowfield"] = on, | ["Fallowfield"] = on, | ||
| + | ["Gladstone"] = ott, | ||
["Hawthorne"] = ott, | ["Hawthorne"] = ott, | ||
["Hospital"] = "The Ottawa Hospital", | ["Hospital"] = "The Ottawa Hospital", | ||
| Line 42: | Line 43: | ||
["color"] = "77b821", | ["color"] = "77b821", | ||
["left terminus"] = "Bayview", | ["left terminus"] = "Bayview", | ||
| − | ["right terminus"] = " | + | ["right terminus"] = "Limebank", |
| + | ["note-mid"] = "Re-opens 2022", | ||
| + | }, | ||
| + | ["Airport Link"] = { | ||
| + | ["title"] = "[[Trillium Line|Airport Link]]", | ||
| + | ["color"] = "77b821", | ||
| + | ["left terminus"] = "Airport", | ||
| + | ["right terminus"] = "Southkeys", | ||
| + | ["note-mid"] = "Opens 2022", | ||
}, | }, | ||
["Route 39"] = { | ["Route 39"] = { | ||
| Line 151: | Line 160: | ||
["74"] = "Route 74", | ["74"] = "Route 74", | ||
["75"] = "Route 75", | ["75"] = "Route 75", | ||
| − | |||
| − | |||
| − | |||
| − | |||
["97"] = "Route 97", | ["97"] = "Route 97", | ||
["98"] = "Route 98", | ["98"] = "Route 98", | ||
["99"] = "Route 99", | ["99"] = "Route 99", | ||
| + | ["airport"] = "Airport Link", | ||
["connexion"] = "Connexion", | ["connexion"] = "Connexion", | ||
["frequent"] = "Frequent", | ["frequent"] = "Frequent", | ||
Revision as of 02:41, 3 May 2020
This is a data module for Module:Adjacent stations. It supports services operated by the OC Transpo.
Lines
Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc
Generic lines
Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc
local on = "%1 station (Ontario)"
local ott = "%1 station (Ottawa)"
local p = {
["lang"] = "en-US",
["system title"] = "[[OC Transpo]]",
["system icon"] = "",
["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,
["Bank"] = ott,
["Bay"] = ott,
["Bayshore"] = ott,
["Bayview"] = ott,
["Bells Corners"] = "Bells Corners#Transit",
["Fallowfield"] = on,
["Gladstone"] = ott,
["Hawthorne"] = ott,
["Hospital"] = "The Ottawa Hospital",
["Kent"] = ott,
["Laurier"] = ott,
["Millennium"] = ott,
["Montreal"] = ott,
["Queensway"] = ott,
["Riverside"] = ott,
},
["lines"] = {
["_default"] = {
["color"] = "0000ff",
},
["Confederation"] = {
["title"] = "[[Confederation Line]]",
["color"] = "d52d3a",
["left terminus"] = "Tunney's Pasture",
["right terminus"] = "Blair",
},
["Trillium"] = {
["title"] = "[[Trillium Line]]",
["color"] = "77b821",
["left terminus"] = "Bayview",
["right terminus"] = "Limebank",
["note-mid"] = "Re-opens 2022",
},
["Airport Link"] = {
["title"] = "[[Trillium Line|Airport Link]]",
["color"] = "77b821",
["left terminus"] = "Airport",
["right terminus"] = "Southkeys",
["note-mid"] = "Opens 2022",
},
["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"] = {
["1"] = "Confederation",
["2"] = "Trillium",
["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",
["airport"] = "Airport Link",
["connexion"] = "Connexion",
["frequent"] = "Frequent",
["local"] = "Local",
["rapid"] = "Rapid",
}
}
return p