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

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{L...')
 
imported>Szqecs
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Lua sidebar|module=Adjacent stations}}
+
{{Sidebar Adjacent stations}}
 
{{Lua|Module:Adjacent stations}}
 
{{Lua|Module:Adjacent stations}}
 
{{tsh|lnl}}
 
{{tsh|lnl}}

Revision as of 17:50, 23 August 2018

Template:Sidebar Adjacent stations

This template returns a line link from a subpage of {{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.