Template:Park trail table: Difference between revisions
Jump to navigation
Jump to search
m (cleanup) |
m (make precision locked at 0.01 miles) |
||
Line 15: | Line 15: | ||
{{#ask:[[Category:Trail||Trails]] [[Park::Warriors' Path State Park]] | {{#ask:[[Category:Trail||Trails]] [[Park::Warriors' Path State Park]] | ||
|mainlabel=trail | |mainlabel=trail | ||
| ?Trail Distance#mi=distance | | ?Trail Distance#mi-p2=distance | ||
| ?Difficulty=difficulty | | ?Difficulty=difficulty | ||
| ?Trail Marking=marking | | ?Trail Marking=marking | ||
Line 27: | Line 27: | ||
| mainlabel=- | | mainlabel=- | ||
| ?Trail=trail | | ?Trail=trail | ||
| ?Trail Distance#mi=distance | | ?Trail Distance#mi-p2=distance | ||
| ?Difficulty=difficulty | | ?Difficulty=difficulty | ||
| ?Trail Marking=marking | | ?Trail Marking=marking | ||
Line 43: | Line 43: | ||
{{#ask:[[Category:Trail||Trails]] [[Park::{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}} }}]] | {{#ask:[[Category:Trail||Trails]] [[Park::{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}} }}]] | ||
|mainlabel=trail | |mainlabel=trail | ||
| ?Trail Distance#mi=distance | | ?Trail Distance#mi-p2=distance | ||
| ?Difficulty=difficulty | | ?Difficulty=difficulty | ||
| ?Trail Marking=marking | | ?Trail Marking=marking | ||
Line 55: | Line 55: | ||
| mainlabel=- | | mainlabel=- | ||
| ?Trail=trail | | ?Trail=trail | ||
| ?Trail Distance#mi=distance | | ?Trail Distance#mi-p2=distance | ||
| ?Difficulty=difficulty | | ?Difficulty=difficulty | ||
| ?Trail Marking=marking | | ?Trail Marking=marking |
Revision as of 13:38, 12 December 2018
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 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.
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}}}}
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 |
|