Widget:Amara : Différence entre versions

De CerclesRestauratifs.org
Aller à : navigation, rechercher
(Page créée avec « <noinclude> This widget allows you to add [http://www.Amara.org/ Amara] your wiki page. To insert this widget, use the following code: <nowiki>{{#widget:</nowiki>{{PAGE... »)
 
 
(6 révisions intermédiaires par le même utilisateur non affichées)
Ligne 2 : Ligne 2 :
 
This widget allows you to add [http://www.Amara.org/ Amara] your wiki page.
 
This widget allows you to add [http://www.Amara.org/ Amara] your wiki page.
  
To insert this widget, use the following code:
+
To insert this widget, use the following code, with by default, theses values :
  
 
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
 
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
|id=15-m_2420
+
|id=HM1ceJHnjjc
|height=600
+
|height=370
|zoom=5
+
|width=640
|latitude=47.406
+
|show-transcript=false
|longitude=1.813
 
 
}}</nowiki>
 
}}</nowiki>
 
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).
 
 
  
 
</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-url="http://www.youtube.com/watch?v=HM1ceJHnjjc">
+
</script><div class="amara-embed" data-height="<!--{$height|escape:'html'|default:370}-->px" data-width="<!--{$width|escape:'html'|default:'640'}-->px" data-url="http://www.youtube.com/watch?v=<!--{$id|escape:'urlpathinfo'}-->" data-show-subtitles-default="true" data-hide-order="true" data-show-transcript-default="<!--{$show-transcript|escape:'html'|default:false}-->" data-initial-language="fr" data-resizable="true">
 
</div></includeonly>
 
</div></includeonly>

Version actuelle datée du 18 décembre 2016 à 11:40

This widget allows you to add Amara your wiki page.

To insert this widget, use the following code, with by default, theses values :

{{#widget:Amara
|id=HM1ceJHnjjc
|height=370
|width=640
|show-transcript=false
}}