Template:Trail Search: Difference between revisions
Jump to navigation
Jump to search
(leanout template) |
(units now come with distance parameter) |
||
Line 3: | Line 3: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ask: [[Category:Trails]] | {{#ask: [[Category:Trails]] | ||
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}} | {{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}})]]}} | ||
| format=count | | format=count | ||
}} trail(s) match this search: | }} trail(s) match this search: | ||
{{#ask: [[Category:Trails]] | {{#ask: [[Category:Trails]] | ||
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}} | {{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}})]]}} | ||
| mainlabel=Trails | | mainlabel=Trails | ||
| ?Trail Distance#mi | | ?Trail Distance#mi |
Revision as of 12:17, 1 August 2020
This is the 'Trail Search' template. It should be called via the Special:RunQuery/Trail Search form.