Module:Adjacent stations/Edmonton LRT
Appearance
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
[edit]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
[edit]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:Helvetica, sans; 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,
["Millbourne/Woodvale"] = stop,
["Mill Woods"] = stop,
["Muttart"] = stop,
["Quarters"] = stop,
["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