Template:Station link/doc
This is a documentation subpage for Template:Station link. It contains 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) |
{{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) |
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
Module: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 "Lua error in package.lua at line 80: module 'Module:Adjacent stations/i18n' not found." using Template:Amtrak stations, and {{station link|MTR|University}}
returns "Lua error in package.lua at line 80: module 'Module:Adjacent stations/i18n' not found." using Module:Adjacent stations/MTR.