Template:Trail Search: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (tweap map)
(get rid of other conditions for testing)
Line 31: Line 31:


{{#ask: [[Category:Trails]]  
{{#ask: [[Category:Trails]]  
{{#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: {{{allowed activities|}}}|[[Allowed activities::{{{allowed activities}}}]]}}
{{#if: {{{park|}}}|[[Park::{{{park}}}]]}}
{{#if: {{{state|}}}|[[State::{{{state}}}]]}}
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}} mi)]]}}
{{#if: {{{distance max|}}}|[[Trailhead location::{{{location coordinates}}} ({{{distance max}}} mi)]]}}
  | ?Trailhead location
  | ?Trailhead location

Revision as of 10:18, 1 August 2020

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