Difference between revisions of "Template:Map AreaTrails"

From TEHCC Wiki
Jump to navigation Jump to search
(add trail stubs)
m (add back kml's dropped in testing)
 
(One intermediate revision 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||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
 +
| center=36.49857, -82.48675
 
| 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
 
| 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
 
}}
 
}}

Latest revision as of 09:47, 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...