Template:Park trail map: Difference between revisions
Jump to navigation
Jump to search
m (change to KML file page) |
m (Change to get parking location from park, not trailhead (i.e. fix a copy-n-paste error)) |
||
Line 14: | Line 14: | ||
</noinclude><includeonly>{{#arraydefine:parkname|{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}}}}}}{{#compound_query:[[Category:Trails||Trail]] [[Park::{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}}}}]] | </noinclude><includeonly>{{#arraydefine:parkname|{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}}}}}}{{#compound_query:[[Category:Trails||Trail]] [[Park::{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}}}}]] | ||
;icon=MarkerT.png | ;icon=MarkerT.png | ||
;? | ;?Parking location | ||
;?Difficulty | ;?Difficulty | ||
;?Trail Distance #-n-p2 | ;?Trail Distance #-n-p2 |
Revision as of 11:56, 9 December 2019
This returns a map of the trails associated with the park page it is called on.
More specifically, it maps the coordinates in Property:Trailhead location from the pages with Category:Trails and the property Park set to the page name or other passed page name.
It should be called in the following format:
{{Park trail map|Park={{PAGENAME}}}}
Edit the page to see the template text.
The template is too detailed to show an example. See Warriors' Path State Park map for an example.