Template:Park hike plan list: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (Tim moved page Park hike plan list to Template:Park hike plan list without leaving a redirect: whoops!)
(add trails used, and intro text)
Line 1: Line 1:
<noinclude>This returns a table of the hike plans associated with the park page it is called on.
<noinclude>This returns a table of the hike plans associated with the park page it is called on.


More specifically, it lists the pages with [[:Category:Hike Plan]] and the property [[Property:Park|Park]] set to the page name. It also displays the properties [[Property:Hike distance|Hike distance]] in miles and the [[Property:Hike description|Hike description]].
More specifically, it lists the pages with [[:Category:Hike Plan]] and the property [[Property:Park|Park]] set to the page name. It also displays the properties [[Property:Hike distance|Hike distance]] in miles, the [[Property:Hike description|Hike description]], and the [[Property:Trail|Trails]] used in the plan.


It should be called in the following format:
It should be called in the following format:
Line 13: Line 13:
  | ?Hike distance#mi  
  | ?Hike distance#mi  
  | ?Hike description
  | ?Hike description
| ?Trail="Trails used"
| intro="The following hike plans have been created within the park<br>"
}}</includeonly>
}}</includeonly>

Revision as of 09:50, 10 October 2015

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

More specifically, it lists the pages with Category:Hike Plan and the property Park set to the page name. It also displays the properties Hike distance in miles, the Hike description, and the Trails used in the plan.

It should be called in the following format:

{{Park hike plan list}}

Edit the page to see the template text.