Difference between revisions of "Template:Street rail"
m |
|||
Line 3: | Line 3: | ||
{{#ask:[[latlong::{{#var:latlonghidden|{{#show:{{PAGENAME}}|?latlong}}}} {{#if:{{{distance|}}}|({{{distance}}})|(0.20 mile)}}]] [[Rname::+]] {{#if:{{{line|}}}|[[Served by::{{{line}}}]]}} {{#if:{{{category|}}}|[[Pcategory::{{{category}}}]]}} |mainlabel=-|?rname=| format=array| name=streetrailstops| valuesep=,}} | {{#ask:[[latlong::{{#var:latlonghidden|{{#show:{{PAGENAME}}|?latlong}}}} {{#if:{{{distance|}}}|({{{distance}}})|(0.20 mile)}}]] [[Rname::+]] {{#if:{{{line|}}}|[[Served by::{{{line}}}]]}} {{#if:{{{category|}}}|[[Pcategory::{{{category}}}]]}} |mainlabel=-|?rname=| format=array| name=streetrailstops| valuesep=,}} | ||
− | </div>{{#arrayprint:streetraillines| | + | </div>{{#arrayprint:streetraillines||$1|{{#ask: [[$1]] |
| format=template| template=listlines2| link=none | ?rnum=| ?rlet=| ?to=| sort=rnum,rlet | | format=template| template=listlines2| link=none | ?rnum=| ?rlet=| ?to=| sort=rnum,rlet | ||
}}}} | }}}} | ||
The nearest {{plural:{{#arraysize:streetrailstops}}|stop is|stops are}} at: {{#arrayprint:streetrailstops|, |$1|'''$1'''|print=pretty}}.</includeonly> | The nearest {{plural:{{#arraysize:streetrailstops}}|stop is|stops are}} at: {{#arrayprint:streetrailstops|, |$1|'''$1'''|print=pretty}}.</includeonly> |