Template:Trail Search: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(change to trail distance)
(leanout template)
Line 3: Line 3:
</noinclude><includeonly>
</noinclude><includeonly>
{{#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)]]}}
  | format=count
  | format=count
Line 14: Line 8:


{{#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: {{{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)]]}}
  | mainlabel=Trails
  | mainlabel=Trails

Revision as of 11:04, 1 August 2020

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