Template:Park trail list: Difference between revisions
Jump to navigation
Jump to search
(try again) |
(test) |
||
Line 11: | Line 11: | ||
<includeonly>{{#compound_query: [[Category:Trail]] [[Park::{{{Park}}}]] | <includeonly>{{#compound_query: [[Category:Trail]] [[Park::{{{Park}}}]] | ||
; mainlabel=- | ; mainlabel=- | ||
; ?Trail Distance#mi=Distance | ; ?Trail Distance#mi=Distance | ||
; ?Difficulty=Difficulty | ; ?Difficulty=Difficulty | ||
Line 17: | Line 16: | ||
|[[-Has subobject::{{{Park}}}]] | |[[-Has subobject::{{{Park}}}]] | ||
; mainlabel=- | ; mainlabel=- | ||
; ?Trail Distance#mi=Distance | ; ?Trail Distance#mi=Distance | ||
; ?Difficulty=Difficulty | ; ?Difficulty=Difficulty |
Revision as of 23:10, 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.