Template:Map AreaTrails: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Fix query)
(change to https)
 
(4 intermediate revisions by the same user not shown)
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]]
{{#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
| limit = 500
| limit = 1000
| 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
| gkml=https://tehcc.org/clubwiki/kml/Appalachian_Trail_TNEastman_Section.kml,https://tehcc.org/clubwiki/kml/AT-MRATC.kml,https://tehcc.org/clubwiki/kml/TEHCC_Areas.kml
}}
}}

Latest revision as of 00:21, 3 January 2023

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