Template:Park trail count

From TEHCC Wiki
Jump to navigation Jump to search

This returns the number of trails assigned to the park that this template is called on.

More specifically it counts the number of pages with Category:Trails and the property Park set to the page name this template is called on.

It should be called in the following format, typically expected to reference current page but can be used as needed:

{{Park trail count|Park={{PAGENAME}}}}

Edit the page to see the template text.

Example output for Warriors' Path State Park: 24