Difference between revisions of "Template:Street rail"

From Transit.Wiki
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{note|{{#ask:[[street rail::{{PAGENAME}}]]| format=template| template=listlines4d| ?rdisplay| ?rvalue| ?to| link=none| sort=provider,rnum,rlet}}}}}
+
<includeonly>{{{note|{{#ask:[[street rail::{{PAGENAME}}]]| format=template| template=listlines4d| ?rdisplay| ?rvalue| ?to| link=none| sort=provider,rnum,rlet}}}}}{{#ask:[[latlong::{{#ask:[[{{PAGENAME}}]]|?latlong|?area latlong|mainlabel=-|format=plainlist|headers=hide}} {{#if:{{{distance|}}}|({{{distance}}})|(0.2 mile)}}]] [[served by.street rail::{{PAGENAME}}]] |mainlabel=-|?rname=| format=list|intro=The nearest stop(s) at: [[File:BSicon ped.svg|20px|link=|walking distance]]&nbsp;|sep=, [[File:BSicon ped.svg|20px|link=|walking distance]]&nbsp;|outro=.}}</includeonly><noinclude>
 
 
The nearest stop(s) at: {{#ask:[[latlong::{{#ask:[[{{PAGENAME}}]]|?latlong|?area latlong|mainlabel=-|format=plainlist|headers=hide}} {{#if:{{{distance|}}}|({{{distance}}})|(0.2 mile)}}]] [[served by.street rail::{{PAGENAME}}]] |mainlabel=-|?rname=| format=list|intro=&#9670;&nbsp;|sep=, &#9670;&nbsp;}}.</includeonly><noinclude>
 
 
This template lists the nearby street rail lines (those covered by street rail property) and their nearby stops.
 
This template lists the nearby street rail lines (those covered by street rail property) and their nearby stops.
  

Latest revision as of 20:20, 18 April 2024

This template lists the nearby street rail lines (those covered by street rail property) and their nearby stops.

Usage:

{{Street rail}}

Parameters:

  • note - A note to replace the listing of the line via standard format, but listing of nearby stops remain.
  • distance - distance from location to include stops (so either avoid having too many or too few). Default is 0.2 mile.