More actions
mNo edit summary |
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:Short line 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:Short line link returns a short line 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.
{{Short line link|system}}
{{Short line link|system|line}}
{{Short line link|system|line|branch}}
Variables
- system is the name of the system or an abbreviation.
- line is the line name, if any.
- branch is the name of the branch or service, if any.
Examples
- Using Template:EuroNight stations:
{{Short line link|EuroNight|Wien}}
→ Lua error: expandTemplate: template "EuroNight lines" does not exist. - Using Module:Adjacent stations/MTR:
{{Line link|MTR|bk}}
→ Lua error: expandTemplate: template "MTR lines" does not exist. vs{{Short line link|MTR|bk}}
→ Lua error: expandTemplate: template "MTR lines" does not exist.