Template:Park trail list: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>This returns a table of the trails associated with the park page it is called on. More specifically, it lists the pages with Category:Trail and the property [...")
 
(Update to new property for trail distance)
Line 11: Line 11:
<includeonly>{{#ask: [[Category:Trail]] [[Park::{{PAGENAME}}]]  
<includeonly>{{#ask: [[Category:Trail]] [[Park::{{PAGENAME}}]]  
  | mainlabel=Park Trails
  | mainlabel=Park Trails
  | ?Trail distance round trip#mi = Length in mi  
  | ?Trail Distance#mi = Length in mi  
  | ?Difficulty
  | ?Difficulty
}}</includeonly>
}}</includeonly>

Revision as of 00:02, 19 September 2015

This returns a table of the trails associated with the park page it is called on.

More specifically, it lists the pages with Category:Trail and the property Park set to the page name. It also displays the property Trail distance round trip in miles and the entered Difficulty.

It should be called in the following format:

{{Park trail list}}

Edit the page to see the template text.