Content deleted Content added
+Redcliffe dab |
No edit summary |
||
(49 intermediate revisions by 13 users not shown) | |||
Line 1:
local x = "%1 railway station, Perth"
local s = "background-color: #%s; font-size: 160%%; color: #%s; padding: 0.4em; white-space: nowrap; margin: 0.25em;"
local c = {
ARM = 'f6a800', BYF = 'f6a800', EBK = 'd2222c', FRE = '003a79', HWY = '44c2b2',
YAN = '959300', MAN = 'd25f15', MID = '960048', THO = 'a07ebf',
sys = '008635', blk = '000000', wht = 'ffffff'
}
local p = {
["system title"] = "[[
["system icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth
["system color"] = "008635",
["name format"] = {
string.format(s, c.sys, c.wht),
["ARM"] = string.format(s, c.ARM, c.blk),
["BYF"] = string.format(s, c.BYF, c.blk),
["EBK"] = string.format(s, c.EBK, c.wht),
["FRE"] = string.format(s, c.FRE, c.wht),
["HWY"] = string.format(s, c.HWY, c.wht),
["YAN"] = string.format(s, c.YAN, c.wht),
["MAN"] = string.format(s, c.MAN, c.wht),
["MID"] = string.format(s, c.MID, c.wht),
["THO"] = string.format(s, c.THO, c.wht)
},
["line icon format"] = "link",
["station format"] = {
Line 15 ⟶ 33:
["Claremont"] = x,
["Clarkson"] = x,
["
["Guildford"] = x,
["
["Midland"] = x,
["Morley"] = x,
["Queens Park"] = x,
["Redcliffe"] = x,▼
["Rockingham"] = x,
["Sherwood"] = x,
Line 35 ⟶ 52:
["lines"] = {
["_default"] = {
["title"] = "[[
["color"] =
},
["Armadale"] = {
["title"] = "[[
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Armadale",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["title"] = "[[Armadale Line|Byford line]]",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["Fremantle"] = {
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Fremantle",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["types"] = {
["All/D"] = {
Line 65 ⟶ 91:
}
},
["
["title"] = "[[
["color"] =
["left terminus"] = "
["right terminus"] = "
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["
["color"] =
["left terminus"] = "Elizabeth Quay",
["right terminus"] = "
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["types"] = {
["All/K/W"] = {
["title"] = "",
["right terminus"] = {"Whitfords", "Clarkson", "
["note-mid"] = "All, K, W"
},
["All/K"] = {
["title"] = "",
["right terminus"] = {"Clarkson", "
["note-mid"] = "All, K"
},
Line 99 ⟶ 127:
},
["Mandurah"] = {
["color"] =
["left terminus"] = "Perth Underground",
["right terminus"] = "Mandurah",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["types"] = {
["All ["title"] = "",
["right terminus"] = {"Cockburn Central
["note-mid"] = "All
▲ },
▲ ["title"] = "",
▲ ["right terminus"] = {"Rockingham", "Mandurah"},
["K"] = {▼
["title"] = "",▼
▲ ["right terminus"] = "Rockingham",
},
["W"] = {
Line 126 ⟶ 147:
},
["Midland"] = {
["
["left terminus"] = "Perth",
["right terminus"] = "Midland",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Ellenbrook",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["
["title"] = "[[
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
}
},
["aliases"] = {
["arm"] = "Armadale",
["ebk"] = "
["fre"] = "Fremantle",
["ftd"] = "
["
["jdp"] = "Yanchep",
["man"] = "Mandurah",
["mid"] = "Midland",
["tho"] = "
["
["forrestfield"] = "High Wycombe",
["ellenbrook"] = "Ellenbrook",
["joondalup"] = "Yanchep",
["thornlie"] = "Thornlie–Cockburn"
}
}
|