Module:Adjacent stations/GO Transit
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by GO Transit. For Union Pearson Express and the Mississauga Transitway, use Module:Adjacent stations/Metrolinx.
Lines
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Highway 407 East | 407 East |
6e2a8e |
| |
Highway 407 West | 407 West |
a31984 |
| |
Barrie | Barrie |
003768 |
| |
Bolton | Bolton |
33cc99 |
| |
Kitchener | Kitchener |
00853f |
| |
Lakeshore East | Lakeshore East |
ee3124 |
| |
Lakeshore West | Lakeshore West |
98002e |
| |
Milton | Milton |
f58025 |
| |
Richmond Hill | Richmond Hill |
009ac7 |
| |
Stouffville | Stouffville |
794400 |
|
Types
[edit]Line | Type | Type keys | Color | Hex color | Icon |
---|---|---|---|---|---|
Lakeshore East | Lakeshore East | Express |
ee3124 |
| |
Lakeshore West | Lakeshore West | Express |
98002e |
| |
Lakeshore West | Lakeshore West | Niagara branch |
98002e |
|
local sta = "%1 station"
local on = "%1 station (Ontario)"
local p = {
["system title"] = "[[GO Transit]]",
["system icon"] = "[[File:GO Transit logo.svg|18px|link=GO Transit]]",
["system color"] = "4a7729",
["name format"] = "font-size: 175%; font-weight: bolder; color: #000000; background-color: #FFFFFF; padding: 0.3em 0; border: 1px solid #000000;",
["header background color"] = "4a7729",
["station format"] = {
"%1 GO Station",
["Caledonia"] = sta,
["Downsview Park"] = "Downsview Park station#GO station",
["East Harbour"] = "[[East Harbour Transit Hub|East Harbour]]",
["Guelph"] = "Guelph Central Station",
["Hamilton"] = "Hamilton GO Centre",
["Kitchener"] = sta,
["Kitchener Central"] = "Central Station (Kitchener)",
["London"] = on,
["Mount Dennis"] = sta,
["Niagara Falls"] = on,
["Pearson Airport"] = "Toronto Pearson Terminal 1 station",
["St. Catharines"] = sta,
["St. Marys"] = on,
["Stratford"] = on,
["Toronto"] = "[[Union Station (Toronto)|Union Station]]",
["Union"] = "[[Union Station (Toronto)|Union Station]]",
},
["lines"] = {
["_default"] = {
["color"] = "4a7729",
},
["407 East"] = {
["title"] = "[[GO Transit bus services#Highway 407 corridor|Highway 407 East]]",
["color"] = "6e2a8e",
},
["407 West"] = {
["title"] = "[[GO Transit bus services#Highway 407 corridor|Highway 407 West]]",
["color"] = "a31984",
},
["Barrie"] = {
["title"] = "[[Barrie line|Barrie]]",
["color"] = "003768",
["icon"] = "[[File:GO Barrie logo.svg|24px|alt=]]",
["left terminus"] = "Allandale Waterfront",
["right terminus"] = "Toronto",
},
["Bolton"] = {
["title"] = "[[Bolton line|Bolton]]",
["color"] = "33cc99",
["left terminus"] = "Bolton",
["right terminus"] = "Toronto",
},
["Kitchener"] = {
["title"] = "[[Kitchener line|Kitchener]]",
["color"] = "00853f",
["icon"] = "[[File:GO Kitchener logo.svg|24px|alt=]]",
["left terminus"] = "Kitchener",
["right terminus"] = "Toronto",
["types"] = {
["Express"] = {
["title"] = "",
["note-mid"] = "(express)",
["left terminus"] = {"Kitchener"},
},
["Express (2021-2023)"] = {
["title"] = "",
["note-mid"] = "(express, 2021-2023)",
["left terminus"] = {"London"},
},
},
},
["Lakeshore East"] = {
["title"] = "[[Lakeshore East line|Lakeshore East]]",
["color"] = "ee3124",
["icon"] = "[[File:GO Lakeshore East logo.svg|24px|alt=]]",
["left terminus"] = "Toronto",
["right terminus"] = "Oshawa",
["types"] = {
["Express"] = {
["title"] = "",
["note-mid"] = "(express)",
["right terminus"] = "Oshawa",
},
["Bowmanville planned expansion"] = {
["title"] = "",
["note-mid"] = "(planned expansion)",
["right terminus"] = "Bowmanville",
},
},
},
["Lakeshore West"] = {
["title"] = "[[Lakeshore West line|Lakeshore West]]",
["color"] = "98002e",
["icon"] = "[[File:GO Lakeshore West logo.svg|24px|alt=]]",
["left terminus"] = "West Harbour",
["right terminus"] = "Toronto",
["types"] = {
["Express"] = {
["title"] = "",
["note-mid"] = "(peak express)",
["left terminus"] = {"Hamilton", "Niagara Falls"},
},
["Niagara branch"] = {
["title"] = "",
["note-mid"] = "(off-peak express)",
["left terminus"] = "Niagara Falls",
},
},
},
["Milton"] = {
["title"] = "[[Milton line|Milton]]",
["color"] = "f58025",
["icon"] = "[[File:GO Milton logo.svg|24px|alt=]]",
["left terminus"] = "Milton",
["right terminus"] = "Toronto",
},
["Richmond Hill"] = {
["title"] = "[[Richmond Hill line|Richmond Hill]]",
["color"] = "009ac7",
["icon"] = "[[File:GO Richmond Hill logo.svg|24px|alt=]]",
["left terminus"] = "Toronto",
["right terminus"] = "Bloomington",
},
["Stouffville"] = {
["title"] = "[[Stouffville line|Stouffville]]",
["color"] = "794400",
["icon"] = "[[File:GO Stouffville logo.svg|24px|alt=]]",
["left terminus"] = "Toronto",
["right terminus"] = "Old Elm",
},
},
}
return p