Content deleted Content added
mNo edit summary |
+style by railway line |
||
Line 1:
local x = "%1 railway station, Perth"
local c = {
ARM = 'f6a800', EBK = 'd2222c', FRE = '003a79', FTD = '1081a9',
JDP = '959300', MAN = 'd25f15', MID = '960048',
sys = '008635', blk = '000000', wht = 'ffffff'
}
local p = {
Line 5 ⟶ 11:
["system icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth Trains|alt=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),
["EBK"] = string.format(s, c.EBK, c.wht),
["FRE"] = string.format(s, c.FRE, c.wht),
["FTD"] = string.format(s, c.FTD, c.wht),
["JDP"] = string.format(s, c.JDP, c.wht),
["MAN"] = string.format(s, c.MAN, c.wht),
["MID"] = string.format(s, c.MID, c.wht)
},
["line icon format"] = "link",
["station format"] = {
Line 38 ⟶ 53:
["_default"] = {
["title"] = "[[%1 railway line|%1 line]]",
["color"] =
},
["Armadale"] = {
["title"] = "[[Armadale and Thornlie railway lines|Armadale line]]",
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Armadale"
},
["Fremantle"] = {
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Fremantle",
Line 69 ⟶ 84:
["Forrestfield"] = {
["title"] = "[[Forrestfield–Airport Link|Forrestfield line]]",
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Forrestfield"
},
["Joondalup"] = {
["color"] =
["left terminus"] = "Elizabeth Quay",
["right terminus"] = "Butler",
Line 101 ⟶ 116:
},
["Mandurah"] = {
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Mandurah",
Line 128 ⟶ 143:
},
["Midland"] = {
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Midland"
},
["Morley–Ellenbrook"] = {
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Ellenbrook"
Line 139 ⟶ 154:
["Thornlie"] = {
["title"] = "[[Armadale and Thornlie railway lines|Thornlie line]]",
["color"] =
["left terminus"] = "Perth",
["right terminus"] = "Thornlie"
|