Module:Adjacent stations/Metro Trains Melbourne

Documentation for this module may be created at Module:Adjacent stations/Metro Trains Melbourne/doc

local melbourne = "%1 railway station, Melbourne"
local victoria = "%1 railway station, Victoria"
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"] = "font-size: 170%; font-family:sans-serif; line-height: 100%; text-align:center; color: #ffffff; background-color:#0072ce; box-shadow: 0 2px 0 #0072ce; padding: 0.35em 0.35em 0.1em 0.1em;",
	["header background color"] = "0072ce",
	["header text color"] = "ffffff",
	["station format"] = {
		"%1 railway station",
		["FS or P"] = "[[Flinders Street railway station|Flinders Street]] or [[Parliament railway station|Parliament]]",
		["SC or F"] = "[[Southern Cross railway station|Southern Cross]] or [[Flagstaff railway station|Flagstaff]]",
		["SC or J"] = "[[Southern Cross railway station|Southern Cross]] or [[Jolimont railway station|Jolimont]]",
		["SC or P"] = "[[Southern Cross railway station|Southern Cross]] or [[Parliament railway station|Parliament]]",
		["SC or R"] = "[[Southern Cross railway station|Southern Cross]] or [[Richmond railway station, Melbourne|Richmond]]",
		["F via FS"] = "[[Frankston railway station|Frankston]] 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]]",
		["Albion"] = melbourne,
		["Armadale"] = melbourne,
		["Arden"] = melbourne,
		["Ashburton"] = melbourne,
		["Auburn"] = melbourne,
		["Balaclava"] = melbourne,
		["Bayswater"] = melbourne,
		["Beaconsfield"] = melbourne,
		["Bell"] = melbourne,
		["Berwick"] = melbourne,
		["Blackburn"] = melbourne,
		["Box Hill"] = melbourne,
		["Broadmeadows"] = melbourne,
		["Brunswick"] = melbourne,
		["Burwood"] = melbourne,
		["Camberwell"] = melbourne,
		["Canterbury"] = melbourne,
		["Chatham"] = melbourne,
		["Chelsea"] = melbourne,
		["Cheltenham"] = melbourne,
		["Clayton"] = melbourne,
		["Clyde"] = victoria,
		["Croydon"] = melbourne,
		["East Richmond"] = melbourne,
		["Eltham"] = melbourne,
		["Epping"] = melbourne,
		["Fairfield"] = melbourne,
		["Hampton"] = melbourne,
		["Hastings"] = melbourne,
		["Hawthorn"] = melbourne,
		["Ivanhoe"] = melbourne,
		["Kensington"] = melbourne,
		["Laverton"] = melbourne,
		["Malvern"] = melbourne,
		["Melton"] = melbourne,
		["Mitcham"] = melbourne,
		["Montmorency"] = melbourne,
		["Newmarket"] = melbourne,
		["Newport"] = melbourne,
		["Oak Park"] = melbourne,
		["Paisley"] = melbourne,
		["Preston"] = melbourne,
		["Richmond"] = melbourne,
		["Ringwood"] = melbourne,
		["Sandown Park"] = melbourne,
		["Seaford"] = melbourne,
		["Showgrounds"] = melbourne,
		["St Albans"] = melbourne,
		["Sunbury"] = melbourne,
		["Sunshine"] = melbourne,
		["Thomastown"] = melbourne,
		["Thornbury"] = melbourne,
		["Town Hall"] = melbourne,
		["Union"] = melbourne,
		["Upwey"] = melbourne,
		["Victoria Park"] = melbourne,
		["Windsor"] = melbourne,
	},
	["lines"] = {
		["Alamein"] = {
			["title"] = "[[Alamein line]]",
			["color"] = "152c6b",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Alamein"
		},
		["Belgrave"] = {
			["title"] = "[[Belgrave line]]",
			["color"] = "152c6b",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Belgrave"
		},
		["Craigieburn"] = {
			["title"] = "[[Craigieburn line]]",
			["color"] = "ffbe00",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Craigieburn"
		},
		["Cranbourne"] = {
			["title"] = "[[Cranbourne line]]",
			["color"] = "279fd5",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Cranbourne"
		},
		["Flemington Racecourse"] = {
			["title"] = "[[Flemington Racecourse line]]",
			["color"] = "95979a",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Flemington Racecourse"
		},
		["Frankston"] = {
			["title"] = "[[Frankston line]]",
			["color"] = "028430",
			["text color"] = "FFFFFF",
			["left terminus"] = "W via FS",
			["right terminus"] = "Frankston"
		},
		["Glen Waverley"] = {
			["title"] = "[[Glen Waverley line]]",
			["color"] = "152c6b",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Glen Waverley"
		},
		["Hurstbridge"] = {
			["title"] = "[[Hurstbridge line]]",
			["color"] = "be1014",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Hurstbridge"
		},
		["Lilydale"] = {
			["title"] = "[[Lilydale line]]",
			["color"] = "152c6b",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Lilydale"
		},
		["Mernda"] = {
			["title"] = "[[Mernda line]]",
			["color"] = "be1014",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Mernda"
		},
		["Melbourne Airport"] = {
			["title"] = "[[Melbourne Airport rail link|Melbourne Airport]]<br />(under construction)",
			["color"] = "F95602",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Pakenham", "Cranbourne"},
			["right terminus"] = "[[Melbourne Airport railway station|Melbourne Airport]]"
		},
		["Metro Tunnel"] = {
			["title"] = "[[Metro Tunnel|Sunshine–Dandenong corridor]]<br />(under construction)",
			["color"] = "279fd5",
			["text color"] = "FFFFFF",
			["left terminus"] = "Sunbury",
			["right terminus"] = {"East Pakenham", "Cranbourne"}
		},
		["Pakenham"] = {
			["title"] = "[[Pakenham line]]",
			["color"] = "279fd5",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Pakenham"
		},
		["Sandringham"] = {
			["title"] = "[[Sandringham line]]",
			["color"] = "f178af",
			["text color"] = "FFFFFF",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Sandringham"
		},
		["Stony Point"] = {
			["title"] = "[[Stony Point line]]",
			["color"] = "028430",
			["text color"] = "FFFFFF",
			["left terminus"] = "Frankston",
			["right terminus"] = "Stony Point"
		},
		["Suburban Rail Loop"] = {
			["title"] = "[[Suburban Rail Loop]]<br />(planned)",
			["color"] = "008746",
			["text color"] = "FFFFFF",
			["left terminus"] = "Cheltenham",
			["right terminus"] = "Werribee",
			["icon"] = "[[File:Melbourne Suburban Rail Loop logo.svg|18px|link=Suburban Rail Loop]]"
		},
		["Suburban Rail Loop East"] = {
			["title"] = "[[Suburban Rail Loop|Suburban Rail Loop East]]<br />(under construction)",
			["color"] = "008746",
			["text color"] = "FFFFFF",
			["left terminus"] = "Southland",
			["right terminus"] = "Box Hill",
			["icon"] = "[[File:Melbourne Suburban Rail Loop logo.svg|18px|link=Suburban Rail Loop]]"
		},
		["Sunbury"] = {
			["title"] = "[[Sunbury line]]",
			["color"] = "ffbe00",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Sunbury"
		},
		["Upfield"] = {
			["title"] = "[[Upfield line]]",
			["color"] = "ffbe00",
			["left terminus"] = "Flinders Street",
			["right terminus"] = "Upfield"
		},
		["Werribee"] = {
			["title"] = "[[Werribee line]]",
			["color"] = "028430",
			["text color"] = "FFFFFF",
			["left terminus"] = "Werribee",
			["right terminus"] = "F via FS"
		},
		["Williamstown"] = {
			["title"] = "[[Williamstown line]]",
			["color"] = "028430",
			["text color"] = "FFFFFF",
			["left terminus"] = "Williamstown",
			["right terminus"] = "F via FS"
		},
		["V/Line"] = {
			["title"] = "[[V/Line]]",
			["color"] = "8f1a95",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:Victoria_train_logo.svg|18px|link=Railways in Victoria|alt=Railways in Victoria]]",
		},
	},
		["aliases"] = {
			["flemington"] = "Flemington Racecourse",
			["airport"] = "Melbourne Airport",
		}	
}

return p;