Template:Trail Search: Difference between revisions
Jump to navigation
Jump to search
(switch return field to match search) |
(add total trail count) |
||
Line 1: | Line 1: | ||
<noinclude>This is the 'Trail Search' template. It should be called via the [[Special:RunQuery/Trail Search]] form. | <noinclude>This is the 'Trail Search' template. It should be called via the [[Special:RunQuery/Trail Search]] form. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ask: [[Category:Trail]] | |||
{{#if: {{{length min|}}}|[[Trail distance round trip::>{{{length min}}}]]}} | |||
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}} | |||
{{#if: {{{trail needs|}}}|[[Trail page needs::{{{trail needs}}}]]}} | |||
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}} mi)]]}} | |||
| format=count | |||
}} trail(s) match this search: | |||
{{#ask: [[Category:Trail]] | {{#ask: [[Category:Trail]] | ||
Line 7: | Line 13: | ||
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}} | {{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}} | ||
{{#if: {{{trail needs|}}}|[[Trail page needs::{{{trail needs}}}]]}} | {{#if: {{{trail needs|}}}|[[Trail page needs::{{{trail needs}}}]]}} | ||
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}} mi)]]}} | |||
| mainlabel=Trails | | mainlabel=Trails | ||
| ?Trail distance round trip#mi | | ?Trail distance round trip#mi |
Revision as of 18:20, 21 October 2015
This is the 'Trail Search' template. It should be called via the Special:RunQuery/Trail Search form.