Module:Adjacent stations/OC Transpo/sandbox
Appearance
This is the module sandbox page for Module:Adjacent stations/OC Transpo (diff). |
This is a data module for Module:Adjacent stations. It supports services operated by OC Transpo/sandbox.
Lines
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Line 1 | 1 or Confederation |
d52d3a |
| |
Line 2 | 2 or Trillium |
77b821 |
| |
Line 3 | 3 or Line 3 |
ae8736 |
| |
Line 4 | 4 or Line 4 or Airport |
1ba2db |
| |
Route 39 | Route 39 or 39 |
1a559b |
| |
Route 45 | Route 45 or 45 |
1a559b |
| |
Route 57 | Route 57 or 57 |
1a559b |
| |
Route 61 | Route 61 or 61 |
1a559b |
| |
Route 62 | Route 62 or 62 |
1a559b |
| |
Route 63 | Route 63 or 63 |
1a559b |
| |
Route 74 | Route 74 or 74 |
1a559b |
| |
Route 75 | Route 75 or 75 |
1a559b |
| |
Route 97 | Route 97 or 97 |
1a559b |
| |
Route 98 | Route 98 or 98 |
1a559b |
| |
Route 99 | Route 99 or 99 |
1a559b |
|
Generic lines
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
OC Transpo | Connexion |
9b5ba4 |
| |
OC Transpo | Event |
FFFFFF |
| |
OC Transpo | Local |
404040 |
| |
OC Transpo | Frequent |
f26432 |
| |
OC Transpo | Rapid |
1a559b |
| |
OC Transpo | School |
FFFFFF |
| |
OC Transpo | Shopper |
FFFFFF |
|
local on = "%1 station (Ontario)"
local ottawa = "%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",
["infobox station"] = {
["_header"] = {
["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"
},
["_subheader"] = {
["background-color"] = "#EE1A2C",
["color"] = "#FFFFFF"
}
},
["station format"] = {
"%1 station",
["Airport"] = ottawa,
["Bank"] = ottawa,
["Bay"] = ottawa,
["Bayview"] = ottawa,
["Bells Corners"] = "Bells Corners#Transit",
["Fallowfield"] = on,
["Hawthorne"] = ottawa,
["Kent"] = ottawa,
["Laurier"] = ottawa,
["Millennium"] = ottawa,
["Queensway"] = ottawa,
["Riverside"] = ottawa,
},
["lines"] = {
["_default"] = {
["color"] = "0000ff",
},
["Confederation"] = {
["title"] = "[[Confederation Line]]",
["color"] = "d52d3a",
["left terminus"] = "Tunney's Pasture",
["right terminus"] = "Blair",
},
["Route 39"] = {
["title"] = "[[OC Transpo Route 39|Route 39]]",
["color"] = "0070c1",
["left terminus"] = "Blair",
["right terminus"] = "Millennium",
},
["Route 45"] = {
["title"] = "[[OC Transpo Route 45|Route 45]]",
["color"] = "0070c1",
["left terminus"] = "Ottawa Health Sciences Complex",
["right terminus"] = "Hurdman",
},
["Route 57"] = {
["title"] = "[[OC Transpo Route 57|Route 57]]",
["color"] = "24339f",
["left terminus"] = "Bells Corners",
["right terminus"] = "Tunney's Pasture",
},
["Route 61"] = {
["title"] = "[[OC Transpo Route 61|Route 61]]",
["color"] = "0070c1",
["left terminus"] = "Stittsville",
["right terminus"] = "St. Laurent",
},
["Route 62"] = {
["title"] = "[[OC Transpo Route 62|Route 62]]",
["color"] = "0070c1",
["left terminus"] = "Stittsville",
["right terminus"] = "St. Laurent",
},
["Route 63"] = {
["title"] = "[[OC Transpo Route 63|Route 63]]",
["color"] = "0070c1",
["left terminus"] = "Innovation",
["right terminus"] = "Mackenzie King",
},
["Route 74"] = {
["title"] = "[[OC Transpo Route 74|Route 74]]",
["color"] = "24339f",
["left terminus"] = "Riverview",
["right terminus"] = "Tunney's Pasture",
},
["Route 75"] = {
["title"] = "[[OC Transpo Route 75|Route 75]]",
["color"] = "24339f",
["left terminus"] = "Cambrian",
["right terminus"] = "Tunney's Pasture",
},
["Route 87"] = {
["title"] = "[[OC Transpo Route 87|Route 87]]",
["left terminus"] = "Baseline",
["right terminus"] = "Greenboro",
},
["Route 91"] = {
["title"] = "[[OC Transpo Route 91|Route 91]]",
["left terminus"] = "Baseline",
["right terminus"] = "Trim",
},
["Route 94"] = {
["title"] = "[[OC Transpo Route 94|Route 94]]",
["left terminus"] = "Riverview",
["right terminus"] = "Millennium",
},
["Route 95"] = {
["title"] = "[[OC Transpo Route 95|Route 95]]",
["left terminus"] = "Barrhaven Centre",
["right terminus"] = "Trim",
},
["Route 97"] = {
["title"] = "[[OC Transpo Route 97|Route 97]]",
["color"] = "24339f",
["left terminus"] = "Bells Corners",
["right terminus"] = "Airport",
},
["Route 98"] = {
["title"] = "[[OC Transpo Route 98|Route 98]]",
["color"] = "24339f",
["left terminus"] = "Tunney's Pasture",
["right terminus"] = "Hawthorne",
},
["Route 99"] = {
["title"] = "[[OC Transpo Route 99|Route 99]]",
["color"] = "24339f",
["left terminus"] = "Lebreton",
["right terminus"] = "Barrhaven Centre",
},
["Trillium"] = {
["title"] = "[[Trillium Line]]",
["color"] = "77b821",
["left terminus"] = "Bayview",
["right terminus"] = "Greenboro",
},
},
}
return p