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
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Capital Line | Capital |
4895D0 |
| |
Metro Line | Metro |
DB1E32 |
| |
Valley Line | Valley |
2B6A3B |
| |
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 Light Rail Transit|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",
["Belvedere"] = edm,
["Central"] = edm,
["Century Park"] = edm,
["Churchill"] = edm,
["Coliseum"] = edm,
["Corona"] = edm,
["Southgate"] = edm,
["Stadium"] = edm,
["University"] = edm,
["102 Street"] = stop,
["Avonmore"] = stop,
["Bonnie Doon"] = stop,
["Holyrood"] = stop,
["Grey Nuns"] = stop,
["Millbourne/Woodvale"] = stop,
["Muttart"] = stop,
["Quarters"] = stop,
["Strathearn"] = stop,
},
["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"] = "DB1E32",
["icon"] = "[[File:Edmonton Metro Line icon.svg|16px|alt=]]",
["left terminus"] = "NAIT",
["right terminus"] = "Century Park",
},
["Valley"] = {
["title"] = "[[Valley Line (Edmonton)|Valley Line]]",
["icon"] = "[[File:Edmonton Valley Line icon.svg|16px|alt=]]",
["color"] = "2B6A3B",
["left terminus"] = "102 Street",
["right terminus"] = "Mill Woods",
},
["Energy"] = {
["title"] = "Energy Line",
["color"] = "bf52b9",
},
["Festival"] = {
["title"] = "Festival Line",
["color"] = "dead1b",
},
},
}
return p