Template:Park trail map: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(force set the parameters)
(throw some random properties to pass)
Line 15: Line 15:
  ;icon=MarkerA.png
  ;icon=MarkerA.png
  ;?Parking location
  ;?Parking location
  ;1=Parking
  ;?Park Type
  ;2=Main parking location (set by park form)
  ;?Allowed activities
|[[Category:Trail Stubs]] [[-Has subobject::{{#arrayprint:parkname}}]]
|[[Category:Trail Stubs]] [[-Has subobject::{{#arrayprint:parkname}}]]
  ;icon=MarkerT.png
  ;icon=MarkerT.png

Revision as of 12:13, 9 December 2019

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}}}}

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.