Template:Trail Map: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (test)
(Revert to this version - park display not working as expected - stick to map markers)
Line 27: Line 27:
  ;?Trail Distance #-n-p2
  ;?Trail Distance #-n-p2
  ;?Trail Marking
  ;?Trail Marking
|[[{{#arrayprint:maintrail}}]]
; icon = MarkerA.png
;?Parking location
|[[Category:Map Markers]] [[-Has subobject::{{#arrayprint:alltrailnames|{{!}}{{!}}}}]] [[Is Marker Type::Parking]]
|[[Category:Map Markers]] [[-Has subobject::{{#arrayprint:alltrailnames|{{!}}{{!}}}}]] [[Is Marker Type::Parking]]
  ; icon = MarkerA.png
  ; icon = MarkerA.png

Revision as of 11:20, 24 December 2019

This returns a map of the trails associated with the trail page it is called on.

It should be called in the following format:

{{Trail Map|Main Trail={{PAGENAME}}|Other Trails= }}

Parameter Main Trail is optional and will default to the pagename. Optionally, additional trails can be requested to have the KML be shown by listing Trail page names separated by commas.

Future features could allow specifying map settings.

Edit the page to see the template text.