Template:Park trail map: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (go back)
(remove park parameter)
Line 9: Line 9:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>{{#compound_query: [[Category:Trail]] [[Park::{{#if:{{{Park}}}|{{{Park}}}|{{PAGENAME}}}}]] [[Trailhead location::+]]
<includeonly>{{#compound_query: [[Category:Trail]] [[Park::{{PAGENAME}}]] [[Trailhead location::+]]
  ; ?Trailhead location
  ; ?Trailhead location
  ; icon = MarkerT.png
  ; icon = MarkerT.png
|[[Category:Trail]] [[Park::{{#if:{{{Park}}}|{{{Park}}}|{{PAGENAME}}}}]] [[Parking location::+]]
|[[Category:Trail]] [[Park::{{PAGENAME}}]] [[Parking location::+]]
  ; ?Parking location
  ; ?Parking location
  ; icon = MarkerA.png
  ; icon = MarkerA.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Parking]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Parking]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerA.png
  ; icon = MarkerA.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Photo spot]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Photo spot]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerB.png
  ; icon = MarkerB.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Waterfall]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Waterfall]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerC.png
  ; icon = MarkerC.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Other photo spot]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Other photo spot]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerD.png
  ; icon = MarkerD.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Overlook]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Overlook]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerE.png
  ; icon = MarkerE.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Shelter]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Shelter]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerF.png
  ; icon = MarkerF.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Point of interest]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Point of interest]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerG.png
  ; icon = MarkerG.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Campground]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Campground]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerH.png
  ; icon = MarkerH.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Cave]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Cave]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerI.png
  ; icon = MarkerI.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Water crossing]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Water crossing]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerJ.png
  ; icon = MarkerJ.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Bench]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Bench]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerK.png
  ; icon = MarkerK.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Trail bridge]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Trail bridge]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerL.png
  ; icon = MarkerL.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Comm tower]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Comm tower]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerM.png
  ; icon = MarkerM.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Cemetery]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Cemetery]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerN.png
  ; icon = MarkerN.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Playground]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Playground]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerO.png
  ; icon = MarkerO.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Summit]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Summit]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerP.png
  ; icon = MarkerP.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Toilet]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Toilet]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerQ.png
  ; icon = MarkerQ.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Tunnel]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Tunnel]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerR.png
  ; icon = MarkerR.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Picnic spot]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Picnic spot]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerS.png
  ; icon = MarkerS.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Trail sign]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Trail sign]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerT.png
  ; icon = MarkerT.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Road crossing]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Road crossing]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerU.png
  ; icon = MarkerU.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Old structure]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Old structure]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerV.png
  ; icon = MarkerV.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Horseback]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Horseback]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerW.png
  ; icon = MarkerW.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Alien landing]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Alien landing]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerX.png
  ; icon = MarkerX.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Rest]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Rest]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = MarkerY.png
  ; icon = MarkerY.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Skiing]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Skiing]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = Marker1.png
  ; icon = Marker1.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Tower]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Tower]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = Marker2.png
  ; icon = Marker2.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Power line]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Power line]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = powerline.png
  ; icon = powerline.png
|[[-Has subobject::{{{Park}}}]] [[Subobject Type::Marker]] [[Is Marker Type::Blowdown]]
|[[-Has subobject::{{PAGENAME}}]] [[Subobject Type::Marker]] [[Is Marker Type::Blowdown]]
  ; ?Has Marker Location
  ; ?Has Marker Location
  ; icon = treedown.png
  ; icon = treedown.png

Revision as of 16:39, 4 May 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.