Difference between revisions of "Template:Bus to rail process"
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq:{{#ask:[[Place::{{{1}}}]] [[Place::{{PAGENAME}}]]|format=count}}|0||* At [[{{{1}}}|{{#show:{{{1}}}|?rname}}]] ({{#geodistance: | + | <includeonly>{{#ifeq:{{#ask:[[Place::{{{1}}}]] [[Place::{{PAGENAME}}]] OR [[Busway::{{{1}}}]] [[Place::{{PAGENAME}}]]|format=count}}|0||* At [[{{{1}}}|{{#show:{{{1}}}|?rname}}]] ({{#geodistance: |
{{#show:{{{1}}}|?latlong}}|{{#show:{{PAGENAME}}|?latlong}}|mile|2}})<br/> | {{#show:{{{1}}}|?latlong}}|{{#show:{{PAGENAME}}|?latlong}}|mile|2}})<br/> | ||
− | <p style="padding-left:2.5em;">via {{Morebus-mini|show=[[Place::{{{1}}}]] [[Place::{{PAGENAME}}]]|list sep=<nowiki> or </nowiki>}}. <br/> | + | <p style="padding-left:2.5em;">via {{Morebus-mini|show=[[Place::{{{1}}}]] [[Place::{{PAGENAME}}]] OR [[Busway::{{{1}}}]] [[Place::{{PAGENAME}}]]|list sep=<nowiki> or </nowiki>}}. <br/> |
{{#ask:[[-Served by::{{{1|}}}]] {{{showlinecon|}}} {{{#userparam|}}}| format=list| template=listlines3a| ?rdisplay| ?rvalue| link=none| sort=provider,rnum,rlet|sep=,|intro=Connection:}} | {{#ask:[[-Served by::{{{1|}}}]] {{{showlinecon|}}} {{{#userparam|}}}| format=list| template=listlines3a| ?rdisplay| ?rvalue| link=none| sort=provider,rnum,rlet|sep=,|intro=Connection:}} | ||
}}</p></includeonly><noinclude> | }}</p></includeonly><noinclude> | ||
Line 14: | Line 14: | ||
* 1 - Station name. | * 1 - Station name. | ||
* showlinecon - optional. It is used to set filter for lines serving the rail station (use provider property to show lines from certain agency). | * showlinecon - optional. It is used to set filter for lines serving the rail station (use provider property to show lines from certain agency). | ||
+ | |||
+ | This template is also used as part of [[:Template:Bus to rail]], where the template will search for nearby station. | ||
</noinclude> | </noinclude> |
Latest revision as of 23:33, 5 May 2024
To show bus routes serving a designated rail stations. It will also list rail lines serving the stations.
Usage:
{{Bus to rail process|1|showlinecon=}}
Parameters:
- 1 - Station name.
- showlinecon - optional. It is used to set filter for lines serving the rail station (use provider property to show lines from certain agency).
This template is also used as part of Template:Bus to rail, where the template will search for nearby station.