Widget:Amara : Différence entre versions

De CerclesRestauratifs.org
Aller à : navigation, rechercher
Ligne 16 : Ligne 16 :
  
 
</noinclude><includeonly><script type="text/javascript" src='https://amara.org/embedder-iframe'>
 
</noinclude><includeonly><script type="text/javascript" src='https://amara.org/embedder-iframe'>
</script><div class="amara-embed" data-height="370px" data-width="620px" data-resizable="true" data-url="http://www.youtube.com/watch?v=HM1ceJHnjjc">
+
</script><div class="amara-embed" data-height="370px" data-width="620px" data-url="http://www.youtube.com/watch?v=<!--{$id|escape:'urlpathinfo'}-->">
 
</div></includeonly>
 
</div></includeonly>

Version du 17 décembre 2016 à 18:56

This widget allows you to add Amara your wiki page.

To insert this widget, use the following code:

{{#widget:Amara
|id=15-m_2420
|height=600
|zoom=5
|latitude=47.406
|longitude=1.813
}}

Height (300), zoom (6), latitude (47.406) and longitude (1.813) are optional (default values), "id" is the identification number of the map (see example above).