Content deleted Content added
+Morley–Ellenbrook |
No edit summary |
||
(57 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,
["Rockingham"] = x,
["Sherwood"] = x,
["Showgrounds"] = x,
["Stirling"] = x,
Line 33 ⟶ 52:
["lines"] = {
["_default"] = {
["title"] = "[[
["color"] =
},
["Armadale"] = {
["title"] = "[[
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Armadale",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["
["
["left terminus"] = "Perth",
["right terminus"] = "
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["
["color"] = c.FRE,
▲ ["color"] = "1081a9",
["left terminus"] = "Perth",
["right terminus"] = "
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["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"
}
}
},
["
["
["color"] = c.HWY,
["left terminus"] = "Claremont",
["right terminus"] = "High Wycombe",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["Yanchep"] = {
["color"] = c.YAN,
["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", "Yanchep"},
["note-mid"] = "All, K, W"
},
["All/K"] = {
["title"] = "",
["right terminus"] = {"Clarkson", "Yanchep"},
["note-mid"] = "All, K"
},
["K"] = {
["title"] = "",
["right terminus"] = "Clarkson",
["note-mid"] = "K"
},
["W"] = {
["title"] = "",
["right terminus"] = "Whitfords",
["note-mid"] = "W"
}
}
},
["Mandurah"] = {
["color"] =
["left terminus"] = "
["right terminus"] =
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["types"] = {
["All/W"] = {
["title"] = "",
["right terminus"] = {"Cockburn Central", "Mandurah"},
["note-mid"] = "All, W"
},
["W"] = {
["title"] = "",
["right terminus"] = "Cockburn Central",
["note-mid"] = "W"
}
}
},
["Midland"] = {
["
["color"] = c.MID,
["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"] = "
["
["yan"] = "Yanchep",
["jdp"] = "Yanchep",
["man"] = "Mandurah",
["mid"] = "Midland",
["tho"] = "
["
["forrestfield"] = "High Wycombe",
["ellenbrook"] = "Ellenbrook",
["joondalup"] = "Yanchep",
["thornlie"] = "Thornlie–Cockburn"
}
}
|