Template:Park trail table: Difference between revisions
m (naming tweak after refresher read) |
m (further text tweak) |
||
Line 1: | Line 1: | ||
<noinclude>This returns a table of the trails associated with the park page it is called on along with any assigned Trail Stubs. | <noinclude>This returns a table of the trails associated with the park page it is called on along with any assigned Trail Stubs. | ||
More specifically, it makes a table of the pages with either the [[:Category:Trail]] or [[:Category:Trails]] and the property [[Property:Park|Park]] set to the page name. It then combines it with a list of any Trail Stubs assigned to the Park for which the template was ran. It also displays the properties [[Property:Trail Distance|Trail Distance]] in miles, the [[Property:Difficulty|Difficulty]], and the [[Property:Trail Marking]]. To define the table format (and make it easily format in the desired manner) the queries use the Template [[Template:Park trail table template|Park trail table template]]. | More specifically, it makes a table of the pages with either the [[:Category:Trail]] (legacy) or [[:Category:Trails]] (revised categorization) and the property [[Property:Park|Park]] set to the page name. It then combines it with a list of any Trail Stubs assigned to the Park for which the template was ran. It also displays the properties [[Property:Trail Distance|Trail Distance]] in miles, the [[Property:Difficulty|Difficulty]], and the [[Property:Trail Marking]]. To define the table format (and make it easily format in the desired manner) the queries use the Template [[Template:Park trail table template|Park trail table template]]. | ||
It will also show any trail stubs created on the park page. | It will also show any trail stubs created on the park page. |
Revision as of 11:51, 3 November 2019
This returns a table of the trails associated with the park page it is called on along with any assigned Trail Stubs.
More specifically, it makes a table of the pages with either the Category:Trail (legacy) or Category:Trails (revised categorization) and the property Park set to the page name. It then combines it with a list of any Trail Stubs assigned to the Park for which the template was ran. It also displays the properties Trail Distance in miles, the Difficulty, and the Property:Trail Marking. To define the table format (and make it easily format in the desired manner) the queries use the Template Park trail table template.
It will also show any trail stubs created on the park page.
It should be called in the following format with the optional Park parameter (it defaults to using the name of the page from which it is run). Typically expected for the current page, but change as needed:
{{Park trail table|Park={{PAGENAME}}}}
Edit the page to see the template text.
Example output for Warriors' Path State Park:
Park Trails | Distance | Difficulty | Marking | Usage | Highlight |
---|---|---|---|---|---|
[[Boneyard|Boneyard]] | 2.33 mi3.75 km <br /> | Medium | Black Triangle | ||
[[Boneyard Connector|Boneyard Connector]] | 0.04 mi0.07 km <br /> | Easy | None | ||
[[Connector|Connector]] | 0.28 mi0.45 km <br /> | Easy | None | ||
[[Darwin's Connector|Darwin's Connector]] | 0.10 mi0.16 km <br /> | Easy | None | ||
[[Darwin's Revenge|Darwin's Revenge]] | 2.06 mi3.32 km <br /> | Medium | Black Diamond | ||
[[Devil's Backbone|Devil's Backbone]] | 1.20 mi1.93 km <br /> | Medium | Red | ||
[[Fall Creek Loop|Fall Creek Loop]] | 0.92 mi1.48 km <br /> | Medium | Orange | ||
[[Fawn Loop|Fawn Loop]] | 0.61 mi0.98 km <br /> | Easy | Yellow | ||
[[Holston Bluffs|Holston Bluffs]] | 0.38 mi0.62 km <br /> | Easy | White | ||
[[Lake Hollow|Lake Hollow]] | 0.56 mi0.90 km <br /> | Easy | None | ||
[[Lake Road (Warriors Path State Park)|Lake Road | 0.84 mi1.35 km <br /> | Easy | None | ||
[[Lakeshore|Lakeshore]] | 0.31 mi0.50 km <br /> | Easy | Black | ||
[[Magic Carpet Ride|Magic Carpet Ride]] | 0.20 mi0.33 km <br /> | Medium | None | ||
[[Overlook|Overlook]] | 0.73 mi1.17 km <br /> | Easy | None | ||
[[Pawpaw|Pawpaw]] | 0.56 mi0.90 km <br /> | Medium | Blue | ||
[[Pawpaw Connector|Pawpaw Connector]] | 0.10 mi0.16 km <br /> | Easy | None | ||
[[Ridge Top (Warriors Path State Park)|Ridge Top | 0.48 mi0.77 km <br /> | Hard | None | ||
[[Riverbank|Riverbank]] | 0.24 mi0.39 km <br /> | Easy | Blue | ||
[[Rock City|Rock City]] | 0.50 mi0.80 km <br /> | Medium | Black | ||
[[Sinking Waters|Sinking Waters]] | 1.75 mi2.82 km <br /> | Easy | Green, Yellow, Blue | ||
[[Whitetail Alternate|Whitetail Alternate]] | 0.20 mi0.32 km <br /> | Medium | None | ||
[[Whitetail Loop|Whitetail Loop]] | 2.31 mi3.71 km <br /> | Medium | Blue Triangle | ||
[[Woodland Ridge|Woodland Ridge]] | 0.78 mi1.26 km <br /> | Medium | None | ||
[[Zipline|Zipline]] | 0.35 mi0.57 km <br /> | Easy | None |