Module:Adjacent stations/Edmonton LRT
This is a data module for Module:Adjacent stations. It supports services operated by Edmonton LRT. ETS can be used as an alias for Edmonton LRT.
Lines
| Line | Keys | Color | Hex color | Icon |
|---|---|---|---|---|
| Capital Line | Capital |
4895d0 |
| |
| Metro Line | Metro |
db1d32 |
| |
| Valley Line | Valley |
2a6a3b |
| |
| Energy Line | Energy |
bf52b9 |
| |
| Festival Line | Festival |
dead1b |
| |
|
2d3092 |
|
Stations
This module can be used to expand a name to link to the appropriate LRT station article, without displaying the trailing "station" or "stop". It also handles cases where more disambiguation is needed.
The template can be called using {{Station link}} or {{stl}}.
For example:
{{stl|Edmonton LRT|NAIT/Blatchford Market}} or {{stl|ETS|NAIT/Blatchford Market}} expands to [[NAIT/Blatchford Market station|NAIT]]
{{stl|Edmonton LRT|University}} expands to [[University station (Edmonton)|University]]
{{stl|Edmonton LRT|102 Street}} expands to [[102 Street stop|102 Street]]
local edm = "%1 station (Edmonton)"
local stop = "%1 stop"
local p = {
["lang"] = "en-US",
["system title"] = "[[Edmonton LRT]]",
["system icon"] = "",
["name format"] = "font-size: 180%; font-family: Frutiger, Myriad Pro, Helvetica Neue, sans-serif; font-weight: bolder; line-height: 100%; color: #cccccc; background-color: #2d3092; padding: 0.2em 0 0.2em 0;",
["header background color"] = "ccccff",
["header text color"] = "000000",
["station format"] = {
"%1 station",
["102 Street"] = stop,
["Avonmore"] = stop,
["Belvedere"] = edm,
["Bonnie Doon"] = stop,
["Central"] = edm,
["Century Park"] = edm,
["Churchill"] = edm,
["Coliseum"] = edm,
["Corona"] = edm,
["Grey Nuns"] = stop,
["Holyrood"] = stop,
["Kingsway/Royal Alex"] = "[[%1 station|Kingsway/​Royal Alex]]",
["McKernan/Belgravia"] = "[[%1 station|McKernan/​Belgravia]]",
["Millbourne/Woodvale"] = "[[%1 stop|Millbourne/​Woodvale]]",
["Mill Woods"] = stop,
["Muttart"] = stop,
["Quarters"] = stop,
["South Campus/Fort Edmonton Park"] = "[[%1 station|South Campus/​Fort Edmonton Park]]",
["Southgate"] = edm,
["Stadium"] = edm,
["Strathearn"] = stop,
["University"] = edm,
},
["lines"] = {
["_default"] = {
["color"] = "2d3092",
},
["Capital"] = {
["title"] = "[[Capital Line]]",
["color"] = "4895d0",
["icon"] = "[[File:Edmonton Capital Line icon.svg|16px|alt=]]",
["left terminus"] = "Clareview",
["right terminus"] = "Century Park",
},
["Metro"] = {
["title"] = "[[Metro Line]]",
["color"] = "db1d32",
["icon"] = "[[File:Edmonton Metro Line icon.svg|16px|alt=]]",
["left terminus"] = "NAIT/Blatchford Market",
["right terminus"] = "Health Sciences/Jubilee",
},
["Valley"] = {
["title"] = "[[Valley Line (Edmonton)|Valley Line]]",
["icon"] = "[[File:Edmonton Valley Line icon.svg|16px|alt=]]",
["color"] = "2a6a3b",
["left terminus"] = "102 Street",
["right terminus"] = "Mill Woods",
},
["Energy"] = {
["title"] = "Energy Line",
["color"] = "bf52b9",
},
["Festival"] = {
["title"] = "Festival Line",
["color"] = "dead1b",
},
},
}
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.