Template:Park trail miles: Difference between revisions
Jump to navigation
Jump to search
(add units) |
m (Add note that trail distance on trail pages will eventually need to be changed to be accurate.) |
||
Line 1: | Line 1: | ||
<noinclude>This returns the total mileage of trails assigned to the park page that this template is called on. | <noinclude>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 [[Property:Park|Park]] set to the page name, it sums the values in property [[Property:Trail distance round trip|Trail distance round trip]] 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 round trip|Trail distance round trip]] in miles and returns that value. Trail distances need to be cleaned up and likely offer a pure "trail length" separate from "typical hike distance." | ||
It should be called in the following format: | It should be called in the following format: |
Revision as of 12:05, 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. Trail distances need to be cleaned up and likely offer a pure "trail length" separate from "typical hike distance."
It should be called in the following format:
{{Park trail miles}}
Edit the page to see the template text.