Template:Trail Map: Difference between revisions
Jump to navigation
Jump to search
(add map link) |
(add parking to map) |
||
Line 21: | Line 21: | ||
| name = KMLlinks | | name = KMLlinks | ||
}}<!-- | }}<!-- | ||
-->{{#compound_query:[[{{#arrayprint: | -->{{#compound_query:[[{{#arrayprint:maintrail}}]] | ||
;icon= | ;icon=MarkerA.png | ||
;? | ;?Parking location | ||
;?Difficulty | ;?Difficulty | ||
;?Trail Distance #-n-p2 | ;?Trail Distance #-n-p2 | ||
;?Trail Marking | ;?Trail Marking | ||
|[[{{#arrayprint:alltrailnames|{{!}}{{!}}}}]] | |||
; icon = MarkerA.png | |||
;?Has Marker Location | |||
;?Has Marker Title | |||
;?Has Marker Description | |||
|[[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 10:12, 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.