Template:Park trail count: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Format when used is weird. Trying something.)
m (reword the instructions)
Line 1: Line 1:
<noinclude>This counts the number of trails with the "[[Property:Park|Park]]" property set to the page name of the page this template is called on.  
<noinclude>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:Trail]] and the property [[Property:Park|Park]] set to the page name.
More specifically it counts the number of pages with [[:Category:Trail]] and the property [[Property:Park|Park]] set to the page name this template is called on.


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

Revision as of 08:14, 11 September 2015

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:Trail and the property Park set to the page name this template is called on.

It should be called in the following format:

{{Park trail count}}

Edit the page to see the template text.