Difference between revisions of "Template:Line link"

From blackwiki
Jump to navigation Jump to search
imported>Ythlev
imported>Mackensen
(Undid revision 880672987 by Ythlev (talk) no consensus for this change)
 
Line 1: Line 1:
<includeonly>{{#invoke:Rail|line}}</includeonly><noinclude>
+
<includeonly>{{#invoke:Adjacent stations|line}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:12, 31 January 2019

Template documentation[view] [edit] [history] [purge]

Template:Sidebar Adjacent stations

This template 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.

  • {{lnl|system}}
  • {{lnl|system|line}}
  • {{lnl|system|line|branch}}

For example, {{lnl|Amtrak|Cascades}} returns "Amtrak Cascades" using Template:Amtrak stations, and {{lnl|MTR|kt}} returns "Kwun Tong line" using Module:Adjacent stations/MTR.