This is the template sandbox page for Template:Station icon link (diff). See also the companion subpage for test cases. |
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) |
{{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: |
Template:Station icon link returns a rail icon and a station link from a subpage of Module:Adjacent stations.
{{Station icon link|system}}
{{Station icon link|system|station}}
{{Station icon link|system|station|line}}
{{Station icon link|system|station|line|line2..4}}
{{Station icon link|system|station|line|links=no}}
{{Station icon link|Amtrak|30th Street|MFL}}
→ Philadelphia–30th Street{{Station icon link|MTR|University|ERL}}
→ University{{Station icon link|Montreal Metro|Lionel-Groulx|1|2}}
→ Lionel-Groulx{{Station icon link|Montreal Metro|McGill|Blue|links=no}}
→ McGill