Template:Park hike plan list: Difference between revisions
Jump to navigation
Jump to search
(add trails used, and intro text) |
m (add template category) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
Example output for Bays Mountain Park: | |||
{{#ask: [[Category:Hike Plan]] [[Park::Bays Mountain Park]] | |||
| mainlabel=Hike plans | |||
| ?Hike distance#mi | |||
| ?Hike description | |||
| ?Trail=Trails used | |||
| intro=The following hike plans have been created within the park | |||
}} | |||
[[Category:Park Class Items]] | |||
</noinclude> | </noinclude> | ||
<includeonly>{{#ask: [[Category:Hike Plan]] [[Park::{{PAGENAME}}]] | <includeonly>{{#ask: [[Category:Hike Plan]] [[Park::{{PAGENAME}}]] | ||
Line 13: | Line 22: | ||
| ?Hike distance#mi | | ?Hike distance#mi | ||
| ?Hike description | | ?Hike description | ||
| ?Trail= | | ?Trail=Trails used | ||
| intro= | | intro=The following hike plans have been created within the park | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 10:17, 20 November 2018
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. Example output for Bays Mountain Park:
The following hike plans have been created within the park
Hike plans | Hike distance | Hike description | Trails used |
---|---|---|---|
Bays 15 Miler | 14.8 mi23.818 km <br /> | The route used by Skelton Law Racing in September every year | Azalea Lakeside Trail River Mountain Road Lake Road (Bays Mountain Park) Pretty Ridge Trail Back Hollow Road Indian Pipes Trail Kiner Hollow Trail Barred Owl Trail |
Bays Structure Tour | 11 mi17.703 km <br /> | A long hike to see all of the abandoned homes, cabins, and barns within the park | Lakeside Trail Lake Road (Bays Mountain Park) Pretty Ridge Trail Front Hollow Road Back Hollow Road Laurel Run Trail Kiner Hollow Trail Cherry Knobs |