Template:Line link
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 line 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.
For example, {{lnl|Amtrak|Cascades}}
returns "Amtrak Cascades" using Template:Amtrak stations, and {{lnl|MTR|kt}}
returns "Kwun Tong line" using Module:Adjacent stations/MTR.