Template:Park trail list: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(cleanup description and table layout)
(Change to passed park form)
Line 5: Line 5:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Park trail list}}
{{Park trail list
|Park=
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>{{#ask: [[Category:Trail]] [[Park::{{PAGENAME}}]]  
<includeonly>{{#ask: [[Category:Trail]] [[Park::{{{Park}}}]]  
  | mainlabel=Park Trails
  | mainlabel=Park Trails
  | ?Trail Distance#mi  
  | ?Trail Distance#mi  

Revision as of 22:55, 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:

{{Park trail list
 |Park=
}}

Edit the page to see the template text.