Template:Park trail miles: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(rename template)
(add units)
Line 12: Line 12:
  | ?Trail distance round trip#mi
  | ?Trail distance round trip#mi
  | format=sum
  | format=sum
}}</includeonly>
}} miles</includeonly>

Revision as of 09:09, 11 September 2015

This returns the total mileage of trails assigned to the park page that this template is called on.

More specifically, for pages with Category:Trail and the property Park set to the page name, it sums the values in property Trail distance round trip in miles and returns that value.

It should be called in the following format:

{{Park trail miles}}

Edit the page to see the template text.