Template:Park trail table: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (plural category)
No edit summary
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>{{#ask: [[Category:Trails]] [[Park::{{{Park}}}]]  
<includeonly>{{#ask: [[Category:Trail||Trails]] [[Park::{{{Park}}}]]  
  | mainlabel=Park Trails
  | mainlabel=Park Trails
  | ?Trail Distance#mi=Distance
  | ?Trail Distance#mi=Distance

Revision as of 23:56, 17 November 2018

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

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

If selected, it will also show any trail stubs created on the park page.

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

{{Park trail list|Park={{PAGENAME}}|Show stubs=yes/blank}}

Edit the page to see the template text.