Template:Trail Search: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (add template category)
(switch to searching for category:trails)
Line 2: Line 2:
[[Category:Search Templates]]
[[Category:Search Templates]]
</noinclude><includeonly>
</noinclude><includeonly>
{{#ask: [[Category:Trail]]  
{{#ask: [[Category:Trails]]  
{{#if: {{{length min|}}}|[[Trail distance round trip::>{{{length min}}}]]}}
{{#if: {{{length min|}}}|[[Trail distance round trip::>{{{length min}}}]]}}
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}}
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}}
Line 13: Line 13:
}} trail(s) match this search:
}} trail(s) match this search:


{{#ask: [[Category:Trail]]  
{{#ask: [[Category:Trails]]  
{{#if: {{{length min|}}}|[[Trail distance round trip::>{{{length min}}}]]}}
{{#if: {{{length min|}}}|[[Trail distance round trip::>{{{length min}}}]]}}
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}}
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}}
Line 30: Line 30:
}}
}}


{{#ask: [[Category:Trail]]  
{{#ask: [[Category:Trails]]  
{{#if: {{{length min|}}}|[[Trail distance round trip::>{{{length min}}}]]}}
{{#if: {{{length min|}}}|[[Trail distance round trip::>{{{length min}}}]]}}
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}}
{{#if: {{{length max|}}}|[[Trail distance round trip::<{{{length max}}}]]}}

Revision as of 09:13, 1 August 2020

This is the 'Trail Search' template. It should be called via the Special:RunQuery/Trail Search form.