Template:Map AreaTrails: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add trail stubs)
(Switching to auto park/trail map)
Line 1: Line 1:
<noinclude>
<noinclude>
This template creates the TEHCC region map with all the trails embedded on the map.  
This template creates the TEHCC region map with all trails and parks marked on the map.  
A template was used for easy consistent inclusion to multiple pages. To use simply add <code><nowiki>{{Map AreaTrails}}</nowiki></code> to any page.
A template was used for easy consistent inclusion to multiple pages. To use simply add <code><nowiki>{{Map AreaTrails}}</nowiki></code> to any page.
Now the map is dynamically created based on pages having Category of Trail and a Trail head location specified
The map is dynamically created based on pages having Category of Trails or Parks and has a location specified
[[Category:Universal Templates]]
[[Category:Universal Templates]]
</noinclude>
</noinclude>
{{#ask: [[Category:Trail||Trails||Trail Stubs]]
{{#compound_query: [[Category:Parks]] ;?Main Location ;icon=MarkerS.png ;limit = 5000
| ?Trailhead location
|[[Category:Trails]] ;?Trailhead location ;icon=MarkerT.png ;limit = 5000
| ?Park
| ?Allowed activities
| ?City
| ?Difficulty
| ?State
| ?Trail Type
| icon=MarkerT.png
| format = googlemaps
| format = googlemaps
| searchmarkers = all
| searchmarkers = all
Line 19: Line 12:
| type=terrain
| type=terrain
| scale=yes
| scale=yes
| zoom=8
| zoom=9
| width=auto
| width=auto
| height=600
| height=800
| markercluster=no
| markercluster=no
| gkml=http://tehcc.org/clubwiki/kml/Appalachian_Trail_TNEastman_Section.kml,http://tehcc.org/clubwiki/kml/AT-MRATC.kml,http://tehcc.org/clubwiki/kml/Tennessee_Wildernesses.kmz
| center=36.49857, -82.48675
}}
}}

Revision as of 08:45, 1 August 2020

This template creates the TEHCC region map with all trails and parks marked on the map. A template was used for easy consistent inclusion to multiple pages. To use simply add {{Map AreaTrails}} to any page. The map is dynamically created based on pages having Category of Trails or Parks and has a location specified

Loading map...