Template:Trail Map: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(wild card search for kmls for report page usage)
m (trying to fix...)
Line 15: Line 15:
-->{{#arraydefine:othertrailnames|{{{Other Trails|}}}}}<!--  
-->{{#arraydefine:othertrailnames|{{{Other Trails|}}}}}<!--  
-->{{#arraymerge:alltrailnames|maintrail|othertrailnames}}<!--  
-->{{#arraymerge:alltrailnames|maintrail|othertrailnames}}<!--  
-->{{#ask: [[{{#arrayprint:alltrailnames|{{!}}{{!}}|@@@@|~@@@@}}]]
-->{{#ask: [[{{#arrayprint:alltrailnames |{{!}}{{!}}|@@@@ |~@@@@ }}]]
| ?Has KML Link
| ?Has KML Link
| pagetitle = hide
| pagetitle = hide

Revision as of 00:43, 31 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.