Template:Park trail table: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (add template category)
m (Fix property link)
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 makes a table of the pages with [[:Category:Trails]] 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 marking]].
More specifically, it makes a table of the pages with [[:Category:Trails]] 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 Marking]].


If selected, it will also show any trail stubs created on the park page.  
If selected, it will also show any trail stubs created on the park page.  

Revision as of 13:03, 7 December 2018

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

More specifically, it makes a table of the pages with Category:Trails and the property Park set to the page name. It also displays the properties Trail Distance in miles, the Difficulty, and the Property:Trail Marking.

If selected, it will also show any trail stubs created on the park page.

It should be called in the following format. Typically expected for the current page, but change as needed:

{{Park trail list|Park={{PAGENAME}}|Show stubs=yes/blank}}

Edit the page to see the template text.

Note: Site is in a transition from "Trail Blaze" to "Trail Marking" - searches for "Blaze" for now, but at some tipping point I will change this to "Marking"

Example output for Warriors' Path State Park:

Park TrailsDistanceDifficultyBlaze
Boneyard2.329 mi3.748 km <br />Medium
Boneyard Connector0.0445 mi0.0716 km <br />Easy
Connector0.28 mi0.451 km <br />Easy
Darwin's Connector0.1 mi0.161 km <br />Easy
Darwin's Revenge2.06 mi3.315 km <br />Medium
Devil's Backbone1.2 mi1.931 km <br />Medium
Fall Creek Loop0.92 mi1.481 km <br />Medium
Fawn Loop0.61 mi0.982 km <br />Easy
Holston Bluffs0.384 mi0.618 km <br />Easy
Lake Hollow0.56 mi0.901 km <br />Easy
Lake Road (Warriors Path State Park)0.84 mi1.351 km <br />Easy
Lakeshore0.31 mi0.499 km <br />Easy
Magic Carpet Ride0.204 mi0.328 km <br />Medium
Overlook0.73 mi1.175 km <br />Easy
Pawpaw0.561 mi0.903 km <br />Medium
Pawpaw Connector0.1 mi0.161 km <br />Easy
Ridge Top (Warriors Path State Park)0.48 mi0.772 km <br />Hard
Riverbank0.24 mi0.386 km <br />Easy
Rock City0.5 mi0.805 km <br />Medium
Sinking Waters1.75 mi2.816 km <br />Easy
Whitetail Alternate0.2 mi0.322 km <br />Medium
Whitetail Loop2.306 mi3.711 km <br />Medium
Woodland Ridge0.78 mi1.255 km <br />Medium
Zipline0.353 mi0.568 km <br />Easy