Template:Trail Search: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(making fields optional (as I know how...))
(fix needs field)
Line 6: Line 6:
{{#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}}}]]}}
{{#if: {{{trail needs|}}}|[[Trail distance round trip::<{{{trail needs}}}]]}}
{{#if: {{{trail needs|}}}|[[Trail page needs::{{{trail needs}}}]]}}
  | mainlabel=Trails
  | mainlabel=Trails
  | ?Trail Distance#mi  
  | ?Trail Distance#mi  

Revision as of 18:57, 21 October 2015

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