Template:Park trail miles: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (WikiSysop moved page Template:Park trail sum to Template:Park trail miles without leaving a redirect)
(rename template)
Line 5: Line 5:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Park trail sum}}
{{Park trail miles}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.

Revision as of 08:08, 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.