Difference between revisions of "Template:Line link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Szqecs
imported>Szqecs
 
Line 5: Line 5:
 
{{tsh|lnl}}
 
{{tsh|lnl}}
  
This template returns a line link from a subpage of {{tl|Adjacent stations}} or from a helper template of {{tl|S-line}}.
+
This template returns a line link from a subpage of [[Module:Adjacent stations]] or from a helper template of {{tl|S-line}}.
  
 
== Usage ==
 
== Usage ==

Latest revision as of 05:35, 13 September 2018

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.