Difference between revisions of "Widget:Komoot"

From Team Satoshi
Jump to navigation Jump to search
Line 6: Line 6:
 
To insert this widget, use the following code (only ID is required):
 
To insert this widget, use the following code (only ID is required):
  
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}|id=772142290|width=100%|height=700}}</nowiki>
+
  <nowiki>{{#widget:{{PAGENAME}}|id=772142290|width=100%|height=700}}</nowiki>
 
</noinclude>
 
</noinclude>
  
 
<includeonly><iframe src="//https://www.komoot.com/tour/<!--{$id|escape:'urlpathinfo'}-->/embed?profile=1 width="<!--{$width|default:100%|escape:'html'}-->" height="<!--{$height|default:700|escape:'html'}-->" marginwidth="0" marginheight="0" scrolling="no" style="margin-bottom: 2rem; max-width: 100%;" frameborder="0" scrolling="no" allowfullscreen></iframe></includeonly>
 
<includeonly><iframe src="//https://www.komoot.com/tour/<!--{$id|escape:'urlpathinfo'}-->/embed?profile=1 width="<!--{$width|default:100%|escape:'html'}-->" height="<!--{$height|default:700|escape:'html'}-->" marginwidth="0" marginheight="0" scrolling="no" style="margin-bottom: 2rem; max-width: 100%;" frameborder="0" scrolling="no" allowfullscreen></iframe></includeonly>

Revision as of 13:32, 14 July 2022

This widget allows you to add Komoot tours to a wiki page.

Usage

To insert this widget, use the following code (only ID is required):

{{#widget:{{PAGENAME}}|id=772142290|width=100%|height=700}}