Template:Line link: Difference between revisions
Jump to navigation
Jump to search
en>MusikBot II m (Changed protection settings for "Template:Line link": High-risk template or module: 2512 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))) |
m (1 revision imported) |
Latest revision as of 19:31, 5 April 2023
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
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) |
{{Line terminus link}} |
(talk | sandbox | testcases) |
This template uses Lua: |
Template:Line link returns a 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.
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:
{{Line link|EuroNight|Wien}}
→ Lua error: expandTemplate: template "EuroNight lines" does not exist. - Using Module:Adjacent stations/MTR:
{{Line link|MTR|kt}}
→ Lua error: expandTemplate: template "MTR lines" does not exist.