Module:Adjacent stations/Sydney Trains
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by Sydney Trains.
Operating lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
North Shore & Western Line | T1 |
f99d1c |
| |
Leppington & Inner West Line | T2 |
0098cd |
| |
Liverpool & Inner West Line | T3 |
f37021 |
| |
Eastern Suburbs & Illawarra Line | T4 |
005aa3 |
| |
Cumberland Line | T5 |
c4258f |
| |
Lidcombe & Bankstown Line | T6 |
7d3f21 |
| |
Olympic Park Line | T7 |
6f818e |
| |
Airport & South Line | T8 |
00954c |
| |
Northern Line | T9 |
d11f2f |
|
Closed lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Bankstown Line (until 2024) | Bankstown |
f37021 |
| |
Carlingford Line (1885–2020) | Carlingford |
456caa |
|
Other
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
South West Rail Link | South West |
ff7d8c |
|
Now part of T2 and T5. Still used in Template:Rail-interchange
local sydney = "%1 railway station, Sydney"
local airport = "%1 Airport railway station, Sydney"
local p = {
["lang"] = "en-GB",
["system title"] = "[[Sydney Trains]]",
["system icon"] = "[[File:TfNSW T.png|17px|link=Sydney Trains]]",
["system color"] = "ec6606",
["name format"] = "font-size: 170%; font-family: sans-serif; font-weight: bolder; line-height: 100%; color: #ffffff; background-color: #ec6606; padding: 0.5em 0 0.5em 0;",
["station format"] = {
["Ashfield"] = sydney,
["Auburn"] = sydney,
["Burwood"] = sydney,
["Canterbury"] = sydney,
["Carlton"] = sydney,
["Central"] = sydney,
["Cheltenham"] = sydney,
["City"] = "Sydney CBD",
["Clyde"] = sydney,
["City Circle"] = "City Circle",
["Como"] = sydney,
["Croydon"] = sydney,
["Domestic"] = airport,
["Domestic Airport"] = sydney,
["Dundas"] = sydney,
["East Richmond"] = sydney,
["Epping"] = sydney,
["Fairfield"] = sydney,
["Glenfield"] = sydney,
["Gordon"] = sydney,
["Guildford"] = sydney,
["Holsworthy"] = sydney,
["International"] = airport,
["International Airport"] = sydney,
["Kings Cross"] = sydney,
["Kingswood"] = sydney,
["Lewisham"] = sydney,
["Liverpool"] = sydney,
["Loftus"] = sydney,
["Meadowbank"] = sydney,
["Newtown"] = sydney,
["Olympic Park"] = sydney,
["Padstow"] = sydney,
["Penrith"] = sydney,
["Penshurst"] = sydney,
["Richmond"] = sydney,
["Roseville"] = sydney,
["St James"] = sydney,
["St Marys"] = sydney,
["Stanmore"] = sydney,
["Sydenham"] = sydney,
["Town Hall"] = sydney,
["Waterfall"] = sydney,
["Waverton"] = sydney,
["Windsor"] = sydney,
["Wynyard"] = sydney,
"%1 railway station",
},
["lines"] = {
["_default"] = {
["icon"] = "[[File:TfNSW %1.svg|16px|alt=]]",
},
["T1"] = {
["title"] = "[[North Shore & Western Line]]",
["color"] = "f99d1c",
["left terminus"] = {"Emu Plains", "Richmond"},
["right terminus"] = "Berowra",
},
["T2"] = {
["title"] = "[[Leppington & Inner West Line]]",
["color"] = "0098cd",
["left terminus"] = {"Parramatta", "Leppington"},
["right terminus"] = "City Circle",
},
["T3"] = {
["title"] = "[[Liverpool & Inner West Line]]",
["color"] = "f37021",
["left terminus"] = "Liverpool",
["right terminus"] = "City Circle",
},
["T4"] = {
["title"] = "[[Eastern Suburbs & Illawarra Line]]",
["color"] = "005aa3",
["left terminus"] = {"Waterfall", "Cronulla"},
["right terminus"] = "Bondi Junction",
},
["T5"] = {
["title"] = "[[Cumberland Line]]",
["color"] = "c4258f",
["left terminus"] = "Richmond",
["right terminus"] = "Leppington",
},
["T6"] = {
["title"] = "[[Lidcombe & Bankstown Line]]",
["color"] = "7d3f21",
["icon"] = "[[File:TfNSW T6 (2024).svg|16px]]",
["left terminus"] = "Lidcombe",
["right terminus"] = "Bankstown",
},
["T7"] = {
["title"] = "[[Olympic Park Line]]",
["color"] = "6f818e",
["left terminus"] = "Olympic Park",
["right terminus"] = "Central",
},
["T8"] = {
["title"] = "[[Airport & South Line]]",
["color"] = "00954c",
["left terminus"] = "Macarthur",
["right terminus"] = "City Circle",
},
["T9"] = {
["title"] = "[[Northern Line (Sydney)|Northern Line]]",
["color"] = "d11f2f",
["left terminus"] = "Hornsby",
["right terminus"] = "Gordon",
},
["Carlingford"] = {
["title"] = "[[Carlingford railway line|Carlingford Line]] <small>(1885–2020)</small>",
["color"] = "456caa",
["icon"] = "[[File:TfNSW T6 (2013–2020).svg|15px|link=Carlingford railway line]]",
["left terminus"] = "Carlingford",
["right terminus"] = "Clyde",
},
["Bankstown"] = {
["title"] = "[[Bankstown railway line|Bankstown Line]] <small>(until 2024)</small>",
["color"] = "f37021",
["icon"] = "[[File:TfNSW T3.svg|15px]]",
["left terminus"] = {"Lidcombe", "Liverpool"},
["right terminus"] = "City Circle",
},
["South West"] = {
["title"] = "[[South West Rail Link]]",
["color"] = "ff7d8c",
["icon"] = "",
["left terminus"] = "Leppington",
["right terminus"] = "Glenfield",
},
},
}
return p