Template:Trail Search: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add searchable fields)
m (tweaks)
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This is the 'Trail Search' template. It should be called via the [[Form:Trail search]] form.
<noinclude>This is the 'Trail Search' template. It should be called via the [[Special:RunQuery/Trail Search]] form.
[[Category:Search Templates]]
</noinclude><includeonly>
</noinclude><includeonly>
Trails that match this search:
{{#ask: [[Category:Trails]]
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}})]]}}
{{#if: {{{trail uses|}}}|[[Allowed activities::{{{trail uses|}}}]]}}
{{#if: {{{features|}}}|[[Features::{{{features|}}}]]}}
| format=count
}} trail(s) match this search:


{{#ask: [[Category:Trail]] [[Hike Time::>{{{hike min}}}]] [[Hike Time::<{{{hike max}}}]] [[City::{{{city}}}]] [[Difficulty::{{{difficulty}}}]]
{{#ask: [[Category:Trails]]  
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}})]]}}
{{#if: {{{trail uses|}}}|[[Allowed activities::{{{trail uses}}}]]}}
{{#if: {{{features|}}}|[[Features::{{{features}}}]]}}
  | mainlabel=Trails
  | mainlabel=Trails
  | ?Trail Distance#mi  
  | ?Trail Distance#mi  
Line 9: Line 18:
  | ?Hike Time
  | ?Hike Time
  | ?Difficulty
  | ?Difficulty
| ?Allowed activities
| ?Features
| limit=100
}}
}}
</includeonly>
</includeonly>

Latest revision as of 14:25, 24 June 2023

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