Difference between revisions of "Module:Adjacent stations/Edmonton LRT/doc"
blackwiki>Blaixx (Initial creation for Edmonton Light Rail Transit) |
blackwiki>Blaixx (mention alias) |
||
| Line 1: | Line 1: | ||
| − | {{Adjacent stations doc}} | + | {{Adjacent stations doc}} "ETS" can be used as an alias for "Edmonton LRT" for module templates. |
== Lines == | == Lines == | ||
| Line 19: | Line 19: | ||
For example: | For example: | ||
| − | <code><nowiki>{{stl|Edmonton LRT|NAIT}}</nowiki></code> expands to <code>[[NAIT station|NAIT]]</code> | + | <code><nowiki>{{stl|Edmonton LRT|NAIT}}</nowiki></code> ''or'' <code><nowiki>{{stl|ETS|NAIT}}</nowiki></code> expands to <code>[[NAIT station|NAIT]]</code> |
<code><nowiki>{{stl|Edmonton LRT|University}}</nowiki></code> expands to <code>[[University station (Edmonton)|University]]</code> | <code><nowiki>{{stl|Edmonton LRT|University}}</nowiki></code> expands to <code>[[University station (Edmonton)|University]]</code> | ||
Revision as of 12:25, 22 July 2019
This is a data module for Module:Adjacent stations. It supports services operated by the Edmonton LRT. "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]]