Module:Adjacent stations/Transperth: Difference between revisions

Content deleted Content added
Note Armadale line closure
Tag: Reverted
No edit summary
 
(14 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 = '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 20 ⟶ 21:
["MAN"] = string.format(s, c.MAN, c.wht),
["MID"] = string.format(s, c.MID, c.wht),
["THO"] = string.format(s, c.ARMTHO, c.blkwht)
},
["line icon format"] = "link",
Line 56 ⟶ 57:
["Armadale"] = {
["title"] = "[[Armadale line]]",
["note-mid"] = "(closed until 2025)",
["color"] = c.ARM,
["left terminus"] = "Perth",
["right terminus"] = "Armadale",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["All/KByford"] = {
["title"] = "[[Armadale Line|Byford line]]",
["titlecolor"] = ""c.BYF,
["rightleft terminus"] = "RockinghamPerth",
["right terminus"] = {"RockinghamByford", "Mandurah"},
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
Line 125 ⟶ 132:
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["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"] = {
Line 148 ⟶ 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]]",
},
["Morley–EllenbrookEllenbrook"] = {
["color"] = c.EBK,
["left terminus"] = "Perth",
["right terminus"] = "Ellenbrook",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["ThornlieThornlie–Cockburn"] = {
["title"] = "[[ThornlieThornlie–Cockburn line]]",
["color"] = c.ARMTHO,
["left terminus"] = "Perth",
["right terminus"] = "ThornlieCockburn Central",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
}
},
["aliases"] = {
["arm"] = "Armadale",
["ebk"] = "Morley–EllenbrookEllenbrook",
["fre"] = "Fremantle",
["ftd"] = "High Wycombe",
Line 178 ⟶ 177:
["man"] = "Mandurah",
["mid"] = "Midland",
["tho"] = "ThornlieThornlie–Cockburn",
["airport"] = "High Wycombe",
["forrestfield"] = "High Wycombe",
["ellenbrook"] = "Morley–EllenbrookEllenbrook",
["joondalup"] = "Yanchep",
["thornlie"] = "Thornlie–Cockburn"
}
}