Difference between revisions of "Template:Tracklog"
From Geohashing
m |
(Adding "Pages using this tracklog" section on file pages) |
||
Line 9: | Line 9: | ||
Note that this only works with GPX files uploaded to the wiki; you can't use GPX files you've hosted elsewhere in this way. | Note that this only works with GPX files uploaded to the wiki; you can't use GPX files you've hosted elsewhere in this way. | ||
− | </noinclude><includeonly>{{#ifexist:File:{{{1}}}|<tracklog src="{{filepath:{{{1}}}}}"></tracklog>{{#switch:{{NAMESPACENUMBER}}|0=[[Category:Expeditions with tracklogs]]| | + | [[Category:Templates]]</noinclude><includeonly>{{#ifexist:File:{{{1}}}|<tracklog src="{{filepath:{{{1}}}}}"></tracklog>{{#switch:{{NAMESPACENUMBER}}|0=[[Category:Expeditions with tracklogs]]|6=[[Category:Tracklog]]}}|[[:File:{{{1}}}]] does not exist. [{{canonicalurl:{{FULLPAGENAME}}|action=purge}} Reload?][[Category:Pages with broken file links]]}}{{#ifeq:{{{1}}}|{{PAGENAME}}|==Pages using this tracklog== |
+ | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=6|invert=1}}}} | ||
+ | </includeonly> |
Revision as of 11:53, 10 July 2021
Tracklog embedding
If your GPSr records a tracklog in GPX format, you can embed it on your expedition page. It looks like this:
How to use
- Upload your GPX file. Give it a suitable name e.g.
2020-02-24 51 -1 Dan's expedition.gpx
- On your expedition page, enter
{{tracklog | 2020-02-24 51 -1 Dan's expedition.gpx}}
(substitute your own filename)
Note that this only works with GPX files uploaded to the wiki; you can't use GPX files you've hosted elsewhere in this way.