Difference between revisions of "Widget:Komoot"

From Team Satoshi
Jump to navigation Jump to search
(Undo revision 703 by Raucao (talk))
Tag: Undo
Line 5: Line 5:
  
 
To insert this widget, use the following code:
 
To insert this widget, use the following code:
 +
 +
<nowiki>{{#widget:Komoot|id=772142290}}</nowiki>
  
 
By default, the width of the embedded <code>iframe</code> is <code>100%</code> and the default height is <code>700px</code>. You can change both using the respective optional parameters:
 
By default, the width of the embedded <code>iframe</code> is <code>100%</code> and the default height is <code>700px</code>. You can change both using the respective optional parameters:
  
 +
<nowiki>{{#widget:Komoot|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 11:13, 17 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}}