Module:Adjacent stations/Transperth: Difference between revisions

Content deleted Content added
Adding Byford Line in lieu of Armadale Line until the Armadale Line reopens
No edit summary
 
(3 intermediate revisions by one other user 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 = 'f6a800', BYF = 'f6a800', EBK = 'd2222c', FRE = '003a79', HWY = '44c2b2',
YAN = '959300', MAN = 'd25f15', MID = '960048', THO = 'a07ebf',
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 62 ⟶ 63:
},
["Byford"] = {
["title"] = "[[Armadale Line|Byford line]]",
["color"] = c.ARMBYF,
["left terminus"] = "Perth",
["right terminus"] = "Byford",
Line 146 ⟶ 147:
},
["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 157 ⟶ 158:
["right terminus"] = "Ellenbrook",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["Thornlie–Cockburn"] = {
["title"] = "[[Thornlie–Cockburn line]]",
Line 164 ⟶ 165:
["right terminus"] = "Cockburn Central",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
}
},
["aliases"] = {