Template:Park trail miles: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Updating to be of the "strict trail distance")
m (fix case sensitive error)
Line 1: Line 1:
<noinclude>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'.
<noinclude>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 [[Property:Park|Park]] set to the page name, it sums the values in property [[Property:Trail distance|Trail distance]] in miles and returns that value."
More specifically, for pages with [[:Category:Trail]] and the property [[Property:Park|Park]] set to the page name, it sums the values in property [[Property:Trail Distance|Trail Distance]] in miles and returns that value."


It should be called in the following format:
It should be called in the following format:

Revision as of 09:40, 27 November 2016

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:

{{Park trail miles}}

Edit the page to see the template text.