Difference between revisions of "Template:Bus to rail"
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{#ask:[[Category:{{{1|rail stations}}}]][[latlong::{{#show:{{PAGENAME}}|?latlong}} (0.5 mile)]]|format=count}}|0|{{#ask:[[Category:{{{1|rail stations}}}]][[latlong::{{#show:{{PAGENAME}}|?latlong}} ({{{distance|1.5 mile}}})]]|template=Bus to rail|link=none}}|{{#ask:[[Category:{{{1|rail stations}}}]][[latlong::{{#show:{{PAGENAME}}|?latlong}} (0.5 mile)]]|format=ul}}</includeonly><noinclude> | + | <includeonly>{{#if:{{#ask:[[Category:{{{1|rail stations}}}]][[latlong::{{#show:{{PAGENAME}}|?latlong}} (0.5 mile)]]|format=count}}|0|{{#ask:[[Category:{{{1|rail stations}}}]][[latlong::{{#show:{{PAGENAME}}|?latlong}} ({{{distance|1.5 mile}}})]]|template=Bus to rail|link=none}}|{{#ask:[[Category:{{{1|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 02:30, 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=}}