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 1: | Line 1: | ||
<noinclude>This returns a map of the trails associated with the park page it is called on. | <noinclude>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: | More specifically, it maps the coordinates in [[Property:Trailhead location]] from the pages with [[:Category:Trail]] and the property [[Property:Park|Park]] set to the page name or other passed page name. | ||
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. | ||
</noinclude> | |||
<includeonly>{{#compound_query: [[Category:Trail]] [[Park::{{PAGENAME}}]] [[Trailhead location::+]] | |||
; ?Trailhead location | |||
; icon = MarkerT.png | |||
</noinclude><includeonly> | |[[Category:Trail]] [[Park::{{PAGENAME}}]] [[Parking location::+]] | ||
; ?Parking location | |||
; icon = MarkerA.png | |||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Parking]] | |||
; ?Has Marker Location | |||
;?Trailhead location | |||
; | |||
|[[Category:Trail | |||
;? | |||
; | |||
| | |||
; icon = MarkerA.png | ; icon = MarkerA.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Photo spot]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerB.png | ; icon = MarkerB.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Waterfall]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerC.png | ; icon = MarkerC.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Other photo spot]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerD.png | ; icon = MarkerD.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Overlook]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerE.png | ; icon = MarkerE.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Shelter]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerF.png | ; icon = MarkerF.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Point of interest]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerG.png | ; icon = MarkerG.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Campground]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerH.png | ; icon = MarkerH.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Cave]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerI.png | ; icon = MarkerI.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Water crossing]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerJ.png | ; icon = MarkerJ.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Bench]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerK.png | ; icon = MarkerK.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Trail bridge]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerL.png | ; icon = MarkerL.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Comm tower]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerM.png | ; icon = MarkerM.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Cemetery]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerN.png | ; icon = MarkerN.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Playground]] | |||
; ?Has Marker Location | |||
; ?Has Marker Title | |||
| | ; ?Has Marker Description | ||
; icon = MarkerO.png | ; icon = MarkerO.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Summit]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerP.png | ; icon = MarkerP.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Toilet]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerQ.png | ; icon = MarkerQ.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Tunnel]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerR.png | ; icon = MarkerR.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Picnic spot]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerS.png | ; icon = MarkerS.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Trail sign]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerT.png | ; icon = MarkerT.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Road crossing]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerU.png | ; icon = MarkerU.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Old structure]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerV.png | ; icon = MarkerV.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Horseback]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerW.png | ; icon = MarkerW.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Alien landing]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerX.png | ; icon = MarkerX.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Rest]] | |||
; ?Has Marker Location | |||
| | |||
; icon = MarkerY.png | ; icon = MarkerY.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Skiing]] | |||
; ?Has Marker Location | |||
| | |||
; icon = Marker1.png | ; icon = Marker1.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Tower]] | |||
; ?Has Marker Location | |||
| | |||
; icon = Marker2.png | ; icon = Marker2.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Power line]] | |||
; ?Has Marker Location | |||
| | |||
; icon = powerline.png | ; icon = powerline.png | ||
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Blowdown]] | |||
; ?Has Marker Location | |||
| | |||
; icon = treedown.png | ; icon = treedown.png | ||
| format = googlemaps | |||
| width = auto | |||
| height = 550 | |||
| type = terrain | |||
| kml={{filepath:{{PAGENAME}}.kml}} | |||
|format=googlemaps | |||
|width=auto | |||
|height= | |||
| | |||
|kml={{filepath:{{ | |||
}} | }} | ||
{{#if:{{filepath:{{ | {{#if:{{filepath:{{PAGENAME}}.kml}}|[{{filepath:{{PAGENAME}}.kml}} Download KML]|[[File:{{PAGENAME}}.kml{{!}}Upload KML]]}} | ||
{{filepath:{{PAGENAME}}.kml|nowiki}} dingle do | |||
{{filepath:Warriors' Path State Park.kml}} Yo Yo | |||
<br>{{PAGENAMEE}} beepop | |||
<br>{{filepath:{{#titleparts:{{PAGENAME}}}}.kml}} - Testing</includeonly> |