Template:Park trail miles

From TEHCC Wiki
Revision as of 13:12, 4 November 2018 by Tim (talk | contribs) (Undo revision 7071 by Tim (talk) - new version needed enabled in LocalSettings)
Jump to navigation Jump to search

This returns the total mileage of trails assigned to the park page that this template is called on. Note: The template also returns the unit 'miles'.

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

It should be called in the following format. Typically expected for current page but can be changed as needed:

{{Park trail miles|Park={{PAGENAME}}}}

Edit the page to see the template text.