Template:Park trail map: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (test)
m (nowiki)
Line 111: Line 111:
}}
}}
{{#if:{{filepath:{{PAGENAME}}.kml}}|[{{filepath:{{PAGENAME}}.kml}} Download KML]|[[File:{{PAGENAME}}.kml{{!}}Upload KML]]}}
{{#if:{{filepath:{{PAGENAME}}.kml}}|[{{filepath:{{PAGENAME}}.kml}} Download KML]|[[File:{{PAGENAME}}.kml{{!}}Upload KML]]}}
{{filepath:{{PAGENAME}}.kml}} dingle do
{{filepath:{{PAGENAME}}.kml|nowiki}} dingle do
{{filepath:Warriors' Path State Park.kml}} Yo Yo
{{filepath:Warriors' Path State Park.kml}} Yo Yo
{{PAGENAME}} beepop
{{PAGENAME}} beepop
Testing</includeonly>
Testing</includeonly>

Revision as of 21:05, 4 November 2018

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:Trail 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.