Editing Template:Park trail map
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{Park trail map|Park={{PAGENAME}} | {{Park trail map|Park={{PAGENAME}}}} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
Line 12: | Line 12: | ||
[[Category:Park Class Items]] | [[Category:Park Class Items]] | ||
</noinclude><includeonly>{{#arraydefine:parkname|{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}}}}}}{{#compound_query:[[Category: | </noinclude><includeonly>{{#arraydefine:parkname|{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}}}}}}{{#compound_query:[[Category:Trails||Trail]] [[Park::{{#if: {{{Park|}}}|{{{Park|}}}|{{PAGENAME}}}}]] | ||
| | |||
;icon=MarkerT.png | ;icon=MarkerT.png | ||
;?Trailhead location | ;?Trailhead location | ||
Line 172: | Line 167: | ||
|[[Category:Map Markers]] [[-Has subobject::{{#arrayprint:parkname}}]] [[Is Marker Type::Blowdown]] | |[[Category:Map Markers]] [[-Has subobject::{{#arrayprint:parkname}}]] [[Is Marker Type::Blowdown]] | ||
; icon = treedown.png | ; icon = treedown.png | ||
;?Has Marker Location | ;?Has Marker Location | ||
;?Has Marker Title | ;?Has Marker Title | ||
;?Has Marker Description | ;?Has Marker Description | ||
|format=googlemaps | |format=googlemaps | ||
|width=auto | |width=auto | ||
|height=600 | |height=600 | ||
Line 190: | Line 177: | ||
|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 | {{#if:{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}}|[{{filepath:{{#titleparts:{{#arrayprint:parkname}}}}.kml}} Download KML]|[[File:{{#titleparts:{{#arrayprint:parkname}}}}.kml{{!}}Upload KML]]}}</includeonly> |