Module:Adjacent stations/Edmonton LRT
Template:Adjacent stations doc "ETS" can be used as an alias for "Edmonton LRT" for module templates.
Lines
Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc
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}}
or {{stl|ETS|NAIT}}
expands to [[NAIT 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"] = "3a59a9", ["left terminus"] = "Clareview", ["right terminus"] = "Century Park", }, ["Metro"] = { ["title"] = "[[Metro Line]]", ["color"] = "fc6357", ["left terminus"] = "NAIT", ["right terminus"] = "Century Park", }, ["Valley"] = { ["title"] = "[[Valley Line (Edmonton)|Valley Line]]", ["color"] = "009158", ["left terminus"] = "102 Street", ["right terminus"] = "Mill Woods", }, ["Energy"] = { ["title"] = "Energy Line", ["color"] = "bf52b9", }, ["Festival"] = { ["title"] = "Festival Line", ["color"] = "dead1b", }, }, } return p