Difference between revisions of "Template:Bus to rail"
m |
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 | + | <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)]]|format=ul}}}}</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. | ||
<pre>{{Bus to rail|rail system category|distance=}}</pre> | <pre>{{Bus to rail|rail system category|distance=}}</pre> | ||
</noinclude> | </noinclude> |
Revision as of 03:00, 28 March 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.
{{Bus to rail|rail system category|distance=}}