Content deleted Content added
Re-add ["joondalup"] = "Yanchep", --- as a just in case it breaks anything old |
Adding High Wycombe and Claremont via Perth shortcuts |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 2:
local s = "background-color: #%s; font-size: 160%%; color: #%s; padding: 0.4em; white-space: nowrap; margin: 0.25em;"
local c = {
ARM = '
YAN = '
sys = '008635', blk = '000000', wht = 'ffffff'
}
Line 14:
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),
Line 20 ⟶ 21:
["MAN"] = string.format(s, c.MAN, c.wht),
["MID"] = string.format(s, c.MID, c.wht),
["THO"] = string.format(s, c.
},
["line icon format"] = "link",
["station format"] = {
"%1 railway station",
["HW via P"] = "[[[High Wycombe railway station, Perth|High Wycombe]] via [[Perth railway station|Perth]]",
["C via P"] = "[[Claremont railway station, Perth|Claremont]] via [[Perth railway station|Perth]]",
["Armadale"] = x,
["Ashfield"] = x,
Line 59 ⟶ 62:
["left terminus"] = "Perth",
["right terminus"] = "Armadale",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
▲ },
["Byford"] = {
["title"] = "[[Armadale Line|Byford line]]",
["color"] = c.BYF,
["left terminus"] = "Perth",
["right terminus"] = "Byford",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
Line 139 ⟶ 149:
},
["Midland"] = {
["title"] = "[[Midland line, Perth|Midland line]]",
["color"] = c.MID,
["left terminus"] = "Perth",
["right terminus"] = "Midland",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["Ellenbrook"] = {
["color"] = c.EBK,
Line 150 ⟶ 160:
["right terminus"] = "Ellenbrook",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["Thornlie–Cockburn"] = {
["title"] = "[[Thornlie–Cockburn line]]",
["color"] = c.
["left terminus"] = "Perth",
["right terminus"] = "
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["aliases"] = {
|