Template:Trail Search: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Add trail use and features for later searching)
m (tweaks)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{#ask: [[Category:Trails]]  
{{#ask: [[Category:Trails]]  
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}})]]}}
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}})]]}}
{{#if: {{{trail uses|}}}|[[Allowed activities::{{{trail uses|}}}]]}}
{{#if: {{{features|}}}|[[Features::{{{features|}}}]]}}
  | format=count
  | format=count
}} trail(s) match this search:
}} trail(s) match this search:
Line 9: Line 11:
{{#ask: [[Category:Trails]]  
{{#ask: [[Category:Trails]]  
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}})]]}}
{{#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  

Latest revision as of 13:25, 24 June 2023

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