Difference between revisions of "Widget:Komoot"

From Team Satoshi
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
</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="//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: 1rem; max-width: 100%;" frameborder="0" scrolling="no" allowfullscreen></iframe></includeonly>

Latest revision as of 12:57, 22 July 2022

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

Usage

To insert this widget, use the following code:

{{#widget:Komoot|id=772142290}}

By default, the width of the embedded iframe is 100% and the default height is 700px. You can change both using the respective optional parameters:

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