Template:Park hike plan list: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (tweak format)
m (add template category)
 
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}}]]  

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 plansHike distanceHike descriptionTrails used
Bays 15 Miler14.8 mi23.818 km <br />The route used by Skelton Law Racing in September every yearAzalea
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 Tour11 mi17.703 km <br />A long hike to see all of the abandoned homes, cabins, and barns within the parkLakeside Trail
Lake Road (Bays Mountain Park)
Pretty Ridge Trail
Front Hollow Road
Back Hollow Road
Laurel Run Trail
Kiner Hollow Trail
Cherry Knobs