Module:Adjacent stations/Transperth
This is a data module for Module:Adjacent stations. It supports services in Perth operated by Transperth.
Lines
| Line | Keys | Color | Hex color | Icon |
|---|---|---|---|---|
| Airport line | HWY or High Wycombe or Airport |
44c2b2 |
| |
| Armadale line | ARM or Armadale |
f2a900 |
| |
| Fremantle line | FRE or Fremantle |
002f6c |
| |
| Mandurah line | MAN or Mandurah |
cb6015 |
| |
| Midland line | MID or Midland |
910048 |
| |
| Ellenbrook line | EBK or Morley–Ellenbrook or Ellenbrook |
d32737 |
| |
| Thornlie–Cockburn line | THO or Thornlie–Cockburn or Thornlie |
ab72C2 |
| |
| Yanchep line | YAN or Yanchep or Joondalup |
949300 |
|
Types
| Line | Type | Type keys | Color | Hex color | Icon |
|---|---|---|---|---|---|
| Fremantle line | Fremantle line | All/D |
002f6c |
| |
| Fremantle line | Fremantle line | D |
002f6c |
| |
| Fremantle line | Fremantle line | Events |
002f6c |
| |
| Mandurah line | Mandurah line | All/W |
cb6015 |
| |
| Mandurah line | Mandurah line | W |
cb6015 |
| |
| Yanchep line | Yanchep line | All/K/W |
949300 |
| |
| Yanchep line | Yanchep line | All/K |
949300 |
| |
| Yanchep line | Yanchep line | K |
949300 |
| |
| Yanchep line | Yanchep line | W |
949300 |
|
See also
local x = "%1 railway station, Perth"
local s = "background-color: #%s; font-size: 160%%; color: #%s; padding: 0.4em; white-space: nowrap; margin: 0.25em;"
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"] = "[[Transperth]]",
["system icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["system color"] = "008635",
["name format"] = {
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]]",
["EQ via PU"] = "[[Elizabeth Quay railway station|Elizabeth Quay]] via [[Perth Underground railway station|Perth Underground]]",
["S or L"] = "[[Showgrounds railway station, Perth|Showgrounds]] or [[Loch Street railway station|Loch Street]]",
["S or C"] = "[[Showgrounds railway station, Perth|Showgrounds]] or [[Claremont railway station, Perth|Claremont]]",
["Armadale"] = x,
["Ashfield"] = x,
["Bayswater"] = x,
["Carlisle"] = x,
["Claremont"] = x,
["Clarkson"] = x,
["Eglinton"] = x,
["Guildford"] = x,
["High Wycombe"] = x,
["Midland"] = x,
["Morley"] = x,
["Queens Park"] = x,
["Rockingham"] = x,
["Sherwood"] = x,
["Showgrounds"] = x,
["Stirling"] = x,
["Swanbourne"] = x,
["Victoria Park"] = x,
["Victoria Street"] = x,
["Warwick"] = x,
["Welshpool"] = x,
["Woodbridge"] = x,
},
["lines"] = {
["_default"] = {
["title"] = "[[%1 line]]",
["color"] = c.sys
},
["Armadale"] = {
["title"] = "[[Armadale line]]",
["color"] = c.ARM,
["left terminus"] = "Perth",
["right terminus"] = "Byford",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["Fremantle"] = {
["color"] = c.FRE,
["left terminus"] = "Perth",
["right terminus"] = "Fremantle",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["types"] = {
["All/D"] = {
["title"] = "",
["right terminus"] = {"Shenton Park", "Fremantle"},
["note-mid"] = "All, D"
},
["D"] = {
["title"] = "",
["right terminus"] = "Shenton Park",
["note-mid"] = "D"
},
["Events"] = {
["title"] = "",
["note-mid"] = "Special events"
}
}
},
["High Wycombe"] = {
["title"] = "[[Airport line, Perth|Airport line]]",
["color"] = c.HWY,
["left terminus"] = "Claremont",
["right terminus"] = "High Wycombe",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["Yanchep"] = {
["color"] = c.YAN,
["left terminus"] = "EQ via PU",
["right terminus"] = "Yanchep",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["types"] = {
["All/K/W"] = {
["title"] = "",
["right terminus"] = {"Whitfords", "Clarkson", "Yanchep"},
["note-mid"] = "All, K, W"
},
["All/K"] = {
["title"] = "",
["right terminus"] = {"Clarkson", "Yanchep"},
["note-mid"] = "All, K"
},
["K"] = {
["title"] = "",
["right terminus"] = "Clarkson",
["note-mid"] = "K"
},
["W"] = {
["title"] = "",
["right terminus"] = "Whitfords",
["note-mid"] = "W"
}
}
},
["Mandurah"] = {
["color"] = c.MAN,
["left terminus"] = "Perth Underground",
["right terminus"] = "Mandurah",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
["types"] = {
["All/W"] = {
["title"] = "",
["right terminus"] = {"Cockburn Central", "Mandurah"},
["note-mid"] = "All, W"
},
["W"] = {
["title"] = "",
["right terminus"] = "Cockburn Central",
["note-mid"] = "W"
}
}
},
["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,
["left terminus"] = "Perth",
["right terminus"] = "Ellenbrook",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["Thornlie–Cockburn"] = {
["title"] = "[[Thornlie–Cockburn line]]",
["color"] = c.THO,
["left terminus"] = "Perth",
["right terminus"] = "Cockburn Central",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
},
["Thornlie"] = {
["title"] = "[[Thornlie–Cockburn line|Thornlie Line]]",
["color"] = c.ARM,
["left terminus"] = "Perth",
["right terminus"] = "Thornlie",
["icon"] = "[[File:Transperth_icon.svg|x14px|link=Transperth|alt=Transperth]]",
}
},
["aliases"] = {
["arm"] = "Armadale",
["ebk"] = "Ellenbrook",
["fre"] = "Fremantle",
["ftd"] = "High Wycombe",
["hwy"] = "High Wycombe",
["yan"] = "Yanchep",
["jdp"] = "Yanchep",
["man"] = "Mandurah",
["mid"] = "Midland",
["tho"] = "Thornlie–Cockburn",
["airport"] = "High Wycombe",
["forrestfield"] = "High Wycombe",
["ellenbrook"] = "Ellenbrook",
["joondalup"] = "Yanchep",
["thornlie"] = "Thornlie–Cockburn",
["thornliet"] = "Thornlie"
}
}
return p
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.