Template:Park trail list: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Change to passed park form)
m (cleanup usage comment)
Line 3: Line 3:
More specifically, it lists the pages with [[:Category:Trail]] and the property [[Property:Park|Park]] set to the page name. It also displays the properties [[Property:Trail Distance|Trail Distance]] in miles, the [[Property:Difficulty|Difficulty]], and the [[Property:Trail blaze|Trail blaze]].
More specifically, it lists the pages with [[:Category:Trail]] and the property [[Property:Park|Park]] set to the page name. It also displays the properties [[Property:Trail Distance|Trail Distance]] in miles, the [[Property:Difficulty|Difficulty]], and the [[Property:Trail blaze|Trail blaze]].


It should be called in the following format:
It should be called in the following format. Typically expected for the current page, but change as needed:
<pre>
<pre>
{{Park trail list
{{Park trail list|Park={{PAGENAME}}}}
|Park=
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.

Revision as of 22:57, 25 April 2018

This returns a table of the trails associated with the park page it is called on.

More specifically, it lists the pages with Category:Trail and the property Park set to the page name. It also displays the properties Trail Distance in miles, the Difficulty, and the Trail blaze.

It should be called in the following format. Typically expected for the current page, but change as needed:

{{Park trail list|Park={{PAGENAME}}}}

Edit the page to see the template text.