Module:Adjacent stations/Metro Trains Melbourne: Difference between revisions

Content deleted Content added
added Flinders Street via City Loop
Adding Cheltenham as a terminus for the Frankston Line. Near half of peak hour services now terminate at Cheltenham during peak hours
 
(20 intermediate revisions by 2 users not shown)
Line 1:
local melbourne = "%1 railway station, Melbourne"
local victoria = "%1 railway station, Victoria"
local s = "background-color: #%s; font-size: 160%%; color: #%s; padding: 0.4em; white-space: nowrap; margin: 0.25em;"
local c = {
Alamein = '152C6B', Belgrave = '152C6B', Craigieburn = 'FFBE00', Cranbourne = '279FD5',
Frankston = '028430', GlenWaverley = '152C6B', Hurstbridge = 'BE1014', Lilydale = '152C6B',
Mernda = 'BE1014', Pakenham = '279FD5', Sandringham = 'F178AF', Sunbury = 'FFBE00',
Upfield = 'FFBE00', Werribee = '028430', Williamstown = '028430',
sys = '0072CE', blk = '000000', wht = 'ffffff'
}
 
local p = {
["system title"] = "[[Metro Trains Melbourne|Metro Trains]]",
["system icon"] = "[[File:Melbourne_train_logo.svg|18px|link=Railways in Melbourne|alt=Railways in Melbourne]]",
["system color"] = "0072ce",
["name format"] = {
["name format"] = "font-size: 170%; font-family:sans-serif; line-height: 100%; text-align:center; color: #ffffff; background-color:#0072ce; padding: 0.35em 0.35em 0.25em 0.25em;",
string.format(s, c.sys, c.wht),
["Alamein"] = string.format(s, "152c6b", c.wht),
["Belgrave"] = string.format(s, "152c6b", c.wht),
["Craigieburn"] = string.format(s, "FFBE00", c.blk),
["Cranbourne"] = string.format(s, "279FD5", c.blk),
["Frankston"] = string.format(s, "028430", c.wht),
["Glen Waverley"] = string.format(s, "152c6b", c.wht),
["Hurstbridge"] = string.format(s, "BE1014", c.wht),
["Lilydale"] = string.format(s, "152c6b", c.wht),
["Mernda"] = string.format(s, "BE1014", c.wht),
["Pakenham"] = string.format(s, "279FD5", c.blk),
["Sandringham"] = string.format(s, "F178AF", c.wht),
["Sunbury"] = string.format(s, "FFBE00", c.blk),
["Upfield"] = string.format(s, "FFBE00", c.blk),
["Werribee"] = string.format(s, "028430", c.wht),
["Williamstown"] = string.format(s, "028430", c.wht)
},
["header background color"] = "0072ce",
["header text color"] = "ffffff",
Line 23 ⟶ 49:
["S or N"] = "[[Seddon railway station|Seddon]] or [[Newport railway station, Melbourne|Newport]]",
["S or F"] = "[[Spotswood railway station|Spotswood]] or [[Footsray railway station|Footscray]]",
["SK or F"] = "[[South Kensington railway station, Melbourne|South Kensington]] or [[Footscray railway station|Footscray]]",
["K or E"] = "[[Kensington railway station, Melbourne|Kensington]] or [[Essendon railway station|Essendon]]",
["S or L"] = "[[Seaholme railway station|Seaholme]] or [[Laverton railway station|Laverton]]",
["W or N"] = "[[Westona railway station|Westona]] or [[Newport railway station, Melbourne|Newport]]",
Line 29 ⟶ 57:
["WR or VP"] = "[[West Richmond railway station|West Richmond]] or [[Victoria Park railway station, Melbourne|Victoria Park]]",
["CO or JO"] = "[[Collingwood railway station|Collingwood]] or [[Jolimont railway station, Melbourne|Jolimont]]",
["M or NM"] = "[[Moonee Ponds railway station|Moonee Ponds]] or [[North Melbourne railway station|North Melbourne]]",
["F via FS"] = "[[Frankston railway station|Frankston]] via [[Flinders Street railway station|Flinders Street]]",
["S via FS"] = "[[Sandringham railway station|Sandringham]] via [[Flinders Street railway station|Flinders Street]]",
["W via FS"] = "[[Werribee railway station|Werribee]] or [[Williamstown railway station|Williamstown]] via [[Flinders Street railway station|Flinders Street]]",
["EC via TH"] = "[[East Pakenham railway station|East Pakenham]] or [[Cranbourne railway station|Cranbourne]] via [[Town Hall railway station, Melbourne|Town Hall]]",
["S via TH"] = "[[Watergardens railway station|Watergardens]] or [[Sunbury railway station, Melbourne|Sunbury]] via [[Town Hall railway station, Melbourne|Town Hall]]",
["FS via CL"] = "[[Flinders Street railway station|Flinders Street]] via [[City Loop]]",
 
Line 51 ⟶ 80:
["Brunswick"] = melbourne,
["Burwood"] = melbourne,
["Burwood (SRL)"] = "Burwood SRL station",
["Camberwell"] = melbourne,
["Canterbury"] = melbourne,
Line 129 ⟶ 159:
["right terminus"] = "Cranbourne"
},
["CranbournemMCranbourneM"] = {
["title"] = "[[PakenhamCranbourne line]]",
["color"] = "279fd5",
["text color"] = "FFFFFF",
Line 148 ⟶ 178:
["text color"] = "FFFFFF",
["left terminus"] = "W via FS",
["right terminus"] = {"Cheltenham", "Frankston"},
},
["FrankstonC"] = {
Line 191 ⟶ 221:
["left terminus"] = {"Pakenham", "Cranbourne"},
["right terminus"] = "[[Melbourne Airport railway station|Melbourne Airport]]"
},
["Melton"] = {
["title"] = "[[Ballarat Line|Melton Line]]",
["color"] = "279fd5",
["text color"] = "FFFFFF",
["left terminus"] = {"EC via TH"},
["right terminus"] = "[[Melton]]"
},
["Metro Tunnel"] = {
Line 220 ⟶ 257:
["right terminus"] = "Sandringham"
},
["SandringhamSSandr|ngham"] = {
["title"] = "[[Sandringham line]]",
["color"] = "f178af",
Line 258 ⟶ 295:
["SunburyM"] = {
["title"] = "[[Sunbury line]]",
["color"] = "FFFFFF279fd5",
["text color"] = "FFFFFF",
["left terminus"] = "EC via TH",
["right terminus"] = {"Watergardens", "Sunbury"},
Line 275 ⟶ 313:
["right terminus"] = "F via FS"
},
["WerribeeSWerrlbee"] = {
["title"] = "[[Werribee line]]",
["color"] = "f178af",
["text color"] = "FFFFFF",
["left terminus"] = "SFlinders via FSStreet",
["right terminus"] = "Laverton or Werribee"
},
Line 289 ⟶ 327:
["right terminus"] = "F via FS"
},
["WilliamstownSWilIiamstown"] = {
["title"] = "[[Williamstown line]]",
["color"] = "f178af",
["text color"] = "FFFFFF",
["left terminus"] = "SFlinders via FSStreet",
["right terminus"] = "Williamstown"
},