Template:Station link
(Redirected from Template:Stl)
Pages related to |
Module:Adjacent stations |
---|
(talk | sandbox | sub-pages) |
{{Infobox station}} |
(talk | sandbox | testcases) |
{{Station link}} |
(talk | sandbox | testcases) |
{{Station icon link}} |
(talk | sandbox | testcases) |
{{Rail color}} |
(talk | sandbox | testcases) |
{{Line link}} |
(talk | sandbox | testcases) |
{{Short line link}} |
(talk | sandbox | testcases) |
{{Rail icon}} |
(talk | sandbox | testcases) |
{{Rail color box}} |
(talk | sandbox | testcases) |
{{Adjacent stations}} |
(talk | sandbox | testcases) |
{{Line terminus link}} |
(talk | sandbox | testcases) |
This template uses Lua: |
This template returns a station link from a subpage of Module:Adjacent stations or from a helper template of {{S-line}}.
Usage
changeModule:Adjacent stations/system
or Template:system color
must exist for this template to work.
{{station link|system}}
{{station link|system|station}}
{{station link|system|station|line}}
{{station link|system|station|line|branch}}
For example, {{station link|Amtrak|30th Street}}
returns "Philadelphia–30th Street" using Template:Amtrak stations, and {{station link|MTR|University}}
returns "University" using Module:Adjacent stations/MTR.