Template:Park trail map: Difference between revisions
Jump to navigation
Jump to search
(add upload new version link) |
(add link to file page) |
||
Line 184: | Line 184: | ||
|kml={{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}} | |kml={{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}} | ||
}} | }} | ||
{{#if:{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}}|[{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}} Download KML] / [{{#replace:http://tehcc.org/clubwiki/index.php?title=Special:Upload&wpDestFile={{#arrayprint:parkname}}.kml&wpForReUpload=1|<nowiki> </nowiki>|_}} Upload new version]|[[File:{{#titleparts:{{#arrayprint:parkname}}}}.kml{{!}}Upload KML]]}}</includeonly> | {{#if:{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}}|[{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}} Download KML] / [{{#replace:http://tehcc.org/clubwiki/index.php?title=Special:Upload&wpDestFile={{#arrayprint:parkname}}.kml&wpForReUpload=1|<nowiki> </nowiki>|_}} Upload new version] / [[:File:{{#arrayprint:maintrail}}.kml|File Page]]|[[File:{{#titleparts:{{#arrayprint:parkname}}}}.kml{{!}}Upload KML]]}}</includeonly> |
Revision as of 14:36, 7 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.