More actions
→Usage: update doc |
m 1 revision imported: Pages related to Module:Adjacent stations |
(No difference)
|
Latest revision as of 05:38, 8 February 2024
This is a documentation subpage for Template:Station icon link. It contains usage information, categories and other content that is not part of the original page. |
Template:Sidebar Adjacent stations
This template uses Lua: |
Template:Station icon link returns a rail icon and a station link from a subpage of Module:Adjacent stations.
Usage
{{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
- 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
- Using Module:Adjacent stations/Amtrak:
{{Station icon link|Amtrak|30th Street|MFL}}
→ Lua error in package.lua at line 80: module 'Module:Adjacent stations/Amtrak' not found. Lua error: expandTemplate: template "Amtrak stations" does not exist. - Using Module:Adjacent stations/MTR:
{{Station icon link|MTR|University|ERL}}
→ Lua error in package.lua at line 80: module 'Module:Adjacent stations/MTR' not found. Lua error: expandTemplate: template "MTR stations" does not exist. - Using Module:Adjacent stations/Montreal Metro:
{{Station icon link|Montreal Metro|Lionel-Groulx|1|2}}
→ Lua error in package.lua at line 80: module 'Module:Adjacent stations/Montreal Metro' not found.Lua error in package.lua at line 80: module 'Module:Adjacent stations/Montreal Metro' not found. Lua error: expandTemplate: template "Montreal Metro stations" does not exist. - Using Module:Adjacent stations/Montreal Metro:
{{Station icon link|Montreal Metro|McGill|Blue|links=no}}
→ Lua error in package.lua at line 80: module 'Module:Adjacent stations/Montreal Metro' not found. McGill
See also
- {{Station link}} without the icon.