Template:Park trail list: Difference between revisions
Jump to navigation
Jump to search
(add trail blaze to description) |
(cleanup description and table layout) |
||
Line 1: | Line 1: | ||
<noinclude>This returns a table of the trails associated with the park page it is called on. | <noinclude>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 [[Property:Park|Park]] set to the page name. It also displays the | 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: | ||
Line 11: | Line 11: | ||
<includeonly>{{#ask: [[Category:Trail]] [[Park::{{PAGENAME}}]] | <includeonly>{{#ask: [[Category:Trail]] [[Park::{{PAGENAME}}]] | ||
| mainlabel=Park Trails | | mainlabel=Park Trails | ||
| ?Trail Distance# | | ?Trail Distance#mi | ||
| ?Difficulty | | ?Difficulty | ||
| ?Trail blaze | | ?Trail blaze | ||
}}</includeonly> | }}</includeonly> |
Revision as of 13:09, 20 September 2015
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}}
Edit the page to see the template text.