Difference between revisions of "Template:Bus to rail"
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq:{{#ask:{{{1|[[Category:rail stations]]}}}[[latlong::{{#show:{{PAGENAME}}|?latlong}} (0.5 mile)]]|format=count}}|0|{{#ask:{{{1|[[Category:rail stations]]}}}[[latlong::{{#show:{{PAGENAME}}|?latlong}} ({{{distance|1.5 mile}}})]]|template=Bus to rail process|link=none}}|{{#ask:{{{1|[[Category:rail stations]]}}}[[latlong::{{#show:{{PAGENAME}}|?latlong}} (0.5 mile)]]|template=Near stop|link=none}}}}</includeonly><noinclude> | + | <includeonly>{{#ifeq:{{#ask:{{{1|[[Category:rail stations]]}}}[[latlong::{{#show:{{PAGENAME}}|?latlong}} (0.5 mile)]]|format=count}}|0|{{#ask:{{{1|[[Category:rail stations]]}}}[[latlong::{{#show:{{PAGENAME}}|?latlong}} ({{{distance|1.5 mile}}})]]|template=Bus to rail process|link=none|userparam={{{showlinecon|}}}}}|{{#ask:{{{1|[[Category:rail stations]]}}}[[latlong::{{#show:{{PAGENAME}}|?latlong}} (0.5 mile)]]|template=Near stop|userparam={{{showlinecon|}}}}}|link=none}}}}</includeonly><noinclude> |
To show bus routes serving nearby rail stations up to 1.5 mile by default, or station name if it's closer than 0.5 mile. | To show bus routes serving nearby rail stations up to 1.5 mile by default, or station name if it's closer than 0.5 mile. | ||
Revision as of 14:24, 17 April 2024
To show bus routes serving nearby rail stations up to 1.5 mile by default, or station name if it's closer than 0.5 mile.
download
{{Bus to rail|1|distance=}}
Parameters:
- 1 - Category. If not indicated, all the nearby (rail stations) category will show. Use it to limit stations to a particularly agency (using category).
- distance - up to 1.5 mile by default. Change it to have longer distance (if station is further), or shorter (only closer ones will show).