Template:Park trail map: Difference between revisions
Jump to navigation
Jump to search
m Remove upload KML part if one doesn't already exist |
m Move geojson up front, match trail maps |
||
| Line 188: | Line 188: | ||
|geojson=GeoJson:{{#titleparts:{{#arrayprint:parkname}}}} | |geojson=GeoJson:{{#titleparts:{{#arrayprint:parkname}}}} | ||
}} | }} | ||
[[GeoJson:{{#titleparts:{{#arrayprint:parkname}}}}| GeoJson Page]]{{#if:{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}}|nbsp;/ Legacy: [{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}} Download KML] / [[:File:{{#titleparts:{{#arrayprint:parkname}}}}.kml|KML File Page]]}}</includeonly> | |||
Revision as of 07:47, 22 September 2026
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}}|Zoom=<nothing will kmlrezoom, number will zoom to that level}}
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.