Template:Station icon link/doc
Appearance
This is a documentation subpage for Template:Station icon link. It may contain usage information, categories and other content that is not part of the original template page. |
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.
Usage
[edit]{{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}}
Variables
[edit]- system is the name of the system or an abbreviation.
- line, line2, etc. are the line names. Up to 4 icons are supported.
- links can set to no to disable hyperlink.
Examples
[edit]- Using Module:Adjacent stations/Amtrak:
{{Station icon link|Amtrak|30th Street|MFL}}
→ Philadelphia–30th Street - Using Module:Adjacent stations/MTR:
{{Station icon link|MTR|University|ERL}}
→ University - Using Module:Adjacent stations/Montreal Metro:
{{Station icon link|Montreal Metro|Lionel-Groulx|1|2}}
→ Lionel-Groulx - Using Module:Adjacent stations/Montreal Metro:
{{Station icon link|Montreal Metro|McGill|Blue|links=no}}
→ McGill
See also
[edit]- {{Station link}} without the icon.