Content deleted Content added
restore style per Template:Transperth style, with bigger font size and "Transperth green" HEX colour adjusted per website |
Adding High Wycombe and Claremont via Perth shortcuts |
||
(47 intermediate revisions by 14 users not shown) | |||
Line 1:
local x = "%1 railway station, Perth"
local c = {
ARM = 'f2a900', BYF = 'f2a900', EBK = 'd32737', FRE = '002f6c', HWY = '44c2b2',
YAN = '949300', MAN = 'cb6015', MID = '910048', THO = 'ab72C2',
sys = '008635', blk = '000000', wht = 'ffffff'
}
local p = {
["system title"] = "[[
["system icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth
["system color"] = "008635",
["name format"] = {
▲ ["name format"] = "font-family: Arial; background-color: #008635; font-size: 170%; color: #ffffff; padding: 0.5em; line-height: 0.5; white-space: nowrap; margin: 0.25em; text-align: center",
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"] = {
"%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 17 ⟶ 36:
["Clarkson"] = x,
["Eglinton"] = x,
["Ellenbrook"] = x,▼
["Guildford"] = x,
["
["Midland"] = x,
["Morley"] = x,
["Queens Park"] = x,
["Rockingham"] = x,
["Sherwood"] = x,
Line 37 ⟶ 54:
["lines"] = {
["_default"] = {
["title"] = "[[
["color"] =
},
["Armadale"] = {
["title"] = "[[
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Armadale",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
▲ },
["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 67 ⟶ 93:
}
},
["
["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 101 ⟶ 129:
},
["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
▲ ["right terminus"] = "Rockingham",
},
["W"] = {
Line 128 ⟶ 149:
},
["Midland"] = {
["
["
▲ ["right terminus"] = "Midland"
▲ },
▲ ["color"] = "d2222c",
["left terminus"] = "Perth",
["right terminus"] = "
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["
▲ ["title"] = "[[Armadale and Thornlie railway lines|Thornlie line]]",
▲ ["color"] = "f6a800",
["left terminus"] = "Perth",
["right terminus"] = "
["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"] = "
["
["man"] = "Mandurah",
["mid"] = "Midland",
["tho"] = "
["
["forrestfield"] = "High Wycombe",
["ellenbrook"] = "Ellenbrook",
["joondalup"] = "Yanchep",
["thornlie"] = "Thornlie–Cockburn"
}
}
|