Template:Create Profile Link: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (fix if then)
m (fix url)
 
(7 intermediate revisions by the same user not shown)
Line 10: Line 10:


[[Category:Trail Class Items]]
[[Category:Trail Class Items]]
</noinclude><includeonly>https://www.gpsvisualizer.com/profile_input{{#if: {{Title|}}|?drawing_title={{Title|}}}}&format=svg&height=500&profile_gradients=1&trk_colorize=slope_degrees&trk_elevation_gain=1&trk_elevation_threshold=10&units=us&width=1000&form:remote_data={{{KML|}}}&add_elevation=auto&trk_distance_threshold=5</includeonly>
</noinclude><includeonly>https://www.gpsvisualizer.com/profile_input?drawing_mode=filled{{#if: {{{Title|}}}|&drawing_title={{urlencode:{{{Title|}}}}}}}&height=500&lightness=60&profile_gradients=1&trk_colorize=none&trk_elevation_gain=1&trk_elevation_threshold=10&trk_hue=120&trk_opacity=50&units=us&width=1000&form:remote_data={{{KML|}}}&add_elevation=auto&trk_distance_threshold=5</includeonly>

Latest revision as of 18:27, 3 August 2020

This creates the link to http://gpsvisualizer.com with the desired settings for generating a profile chart of a provided KML. The chart can be saved for the page but is also the source of information of distance and elevations.

It should be called in the following format:

{{Create Profile Link|KML= |Title=<Optional>}}

The parameter KML is required for output.

Edit the page to see the template text.