Jump to content

Module:Adjacent stations/Transperth

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by McVahl (talk | contribs) at 09:58, 24 June 2020 (restore style per Template:Transperth style, with bigger font size and "Transperth green" HEX colour adjusted per website). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local x = "%1 railway station, Perth"

local p = {
	["system title"] = "[[Transperth Trains|Transperth]]",
	["system icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth Trains|alt=Transperth]]",
	["system color"] = "008635",
	["name format"] = "font-family: Arial; background-color: #008635; font-size: 170%; color: #ffffff; padding: 0.5em; line-height: 0.5; white-space: nowrap; margin: 0.25em; text-align: center",
	["line icon format"] = "link",
	["station format"] = {
		"%1 railway station",
		
		["Armadale"] = x,
		["Ashfield"] = x,
		["Bayswater"] = x,
		["Carlisle"] = x,
		["Claremont"] = x,
		["Clarkson"] = x,
		["Eglinton"] = x,
		["Ellenbrook"] = x,
		["Guildford"] = x,
		["Malaga"] = x,
		["Midland"] = x,
		["Morley"] = x,
		["Queens Park"] = x,
		["Redcliffe"] = x,
		["Rockingham"] = x,
		["Sherwood"] = x,
		["Showgrounds"] = x,
		["Stirling"] = x,
		["Swanbourne"] = x,
		["Victoria Park"] = x,
		["Victoria Street"] = x,
		["Warwick"] = x,
		["Welshpool"] = x,
		["Woodbridge"] = x,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 railway line|%1 line]]",
			["color"] = "008635"
		},
		["Armadale"] = {
			["title"] = "[[Armadale and Thornlie railway lines|Armadale line]]",
			["color"] = "f6a800",
			["left terminus"] = "Perth",
			["right terminus"] = "Armadale"
		},
		["Fremantle"] = {
			["color"] = "003a79",
			["left terminus"] = "Perth",
			["right terminus"] = "Fremantle",
			["types"] = {
				["All/D"] = {
					["title"] = "",
					["right terminus"] = {"Shenton Park", "Fremantle"},
					["note-mid"] = "All, D"
				},
				["D"] = {
					["title"] = "",
					["right terminus"] = "Shenton Park",
					["note-mid"] = "D"
				},
				["Events"] = {
					["title"] = "",
					["note-mid"] = "Special events"
				}
			}
		},
		["Forrestfield"] = {
			["title"] = "[[Forrestfield–Airport Link|Forrestfield line]]",
			["color"] = "1081a9",
			["left terminus"] = "Perth",
			["right terminus"] = "Forrestfield"
		},
		["Joondalup"] = {
			["color"] = "959300",
			["left terminus"] = "Elizabeth Quay",
			["right terminus"] = "Butler",
			["types"] = {
				["All/K/W"] = {
					["title"] = "",
					["right terminus"] = {"Whitfords", "Clarkson", "Butler"},
					["note-mid"] = "All, K, W"
				},
				["All/K"] = {
					["title"] = "",
					["right terminus"] = {"Clarkson", "Butler"},
					["note-mid"] = "All, K"
				},
				["K"] = {
					["title"] = "",
					["right terminus"] = "Clarkson",
					["note-mid"] = "K"
				},
				["W"] = {
					["title"] = "",
					["right terminus"] = "Whitfords",
					["note-mid"] = "W"
				}
			}
		},
		["Mandurah"] = {
			["color"] = "d25f15",
			["left terminus"] = "Perth",
			["right terminus"] = "Mandurah",
			["types"] = {
				["All/K/W"] = {
					["title"] = "",
					["right terminus"] = {"Cockburn Central", "Rockingham", "Mandurah"},
					["note-mid"] = "All, K, W"
				},
				["All/K"] = {
					["title"] = "",
					["right terminus"] = {"Rockingham", "Mandurah"},
					["note-mid"] = "All, K"
				},
				["K"] = {
					["title"] = "",
					["right terminus"] = "Rockingham",
					["note-mid"] = "K"
				},
				["W"] = {
					["title"] = "",
					["right terminus"] = "Cockburn Central",
					["note-mid"] = "W"
				}
			}
		},
		["Midland"] = {
			["color"] = "960048",
			["left terminus"] = "Perth",
			["right terminus"] = "Midland"
		},
		["Morley–Ellenbrook"] = {
			["color"] = "d2222c",
			["left terminus"] = "Perth",
			["right terminus"] = "Ellenbrook"
		},
		["Thornlie"] = {
			["title"] = "[[Armadale and Thornlie railway lines|Thornlie line]]",
			["color"] = "f6a800",
			["left terminus"] = "Perth",
			["right terminus"] = "Thornlie"
		},
		["Armadale/Thornlie"] = {
			["title"] = "[[Armadale and Thornlie railway lines|Armadale/Thornlie lines]]",
			["color"] = "f6a800",
			["left terminus"] = "Perth",
			["right terminus"] = "Thornlie"
		}
	},
	["aliases"] = {
		["arm"] = "Armadale",
		["ebk"] = "Morley–Ellenbrook",
		["fre"] = "Fremantle",
		["ftd"] = "Forrestfield",
		["jdp"] = "Joondalup",
		["man"] = "Mandurah",
		["mid"] = "Midland",
		["tho"] = "Thornlie",
		["ellenbrook"] = "Morley–Ellenbrook"
	}
}

return p