Eines de l'usuari

Widget:ViquiAtles: Diferència entre les revisions

De EduWiki

Dreceres ràpides: navegació, cerca
Línia 8: Línia 8:
 
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
 
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
 
|key=ABQIAAAAjs4Bu6JiKIx2rvCkvFr96RTxZt3sM-gL8xQgYO6ZD6uRmY4OFxQuNI9N3QaVTylAHRceEz4MgZpzuA
 
|key=ABQIAAAAjs4Bu6JiKIx2rvCkvFr96RTxZt3sM-gL8xQgYO6ZD6uRmY4OFxQuNI9N3QaVTylAHRceEz4MgZpzuA
|mapid=6
+
|mapid=83
 
|width=500
 
|width=500
 
|height=500
 
|height=500
Línia 16: Línia 16:
  
 
== Sample result  ==
 
== Sample result  ==
{{#widget:{{PAGENAME}}|key=ABQIAAAAjs4Bu6JiKIx2rvCkvFr96RTxZt3sM-gL8xQgYO6ZD6uRmY4OFxQuNI9N3QaVTylAHRceEz4MgZpzuA}}  
+
{{#widget:{{PAGENAME}}|key=ABQIAAAAjs4Bu6JiKIx2rvCkvFr96RTxZt3sM-gL8xQgYO6ZD6uRmY4OFxQuNI9N3QaVTylAHRceEz4MgZpzuA|mapid=83}}  
 
</noinclude> <includeonly><!--{counter name="mapDivID" assign="mapDivID"}--><script type="text/javascript" src="http://www.google.com/jsapi?key=<!--{$key|escape:'urlpathinfo'}-->"></script><div id="map<!--{$mapDivID|escape:'html'}-->" style="width: <!--{$width|escape:'html'|default:'420'}-->px; height: <!--{$height|escape:'html'|default:350}-->px"><script type="text/javascript" src="http://atles.eduwiki.cat/sitemedia/js/embed.js"></script><script type="text/javascript" src="http://atles.eduwiki.cat/json/showmap/<!--{$mapid|escape:'quotes'}-->/<!--{$mapDivID|escape:'html'}-->"></script></includeonly>
 
</noinclude> <includeonly><!--{counter name="mapDivID" assign="mapDivID"}--><script type="text/javascript" src="http://www.google.com/jsapi?key=<!--{$key|escape:'urlpathinfo'}-->"></script><div id="map<!--{$mapDivID|escape:'html'}-->" style="width: <!--{$width|escape:'html'|default:'420'}-->px; height: <!--{$height|escape:'html'|default:350}-->px"><script type="text/javascript" src="http://atles.eduwiki.cat/sitemedia/js/embed.js"></script><script type="text/javascript" src="http://atles.eduwiki.cat/json/showmap/<!--{$mapid|escape:'quotes'}-->/<!--{$mapDivID|escape:'html'}-->"></script></includeonly>

Revisió de 13:41, 18 gen 2010

Incloure Wiki Atles a una pàgina de l'Eduwiki!

Creat per http://atles.eduwiki.cat/

Per crear aquest widget, inclou aquest codi:

{{#widget:ViquiAtles
|key=ABQIAAAAjs4Bu6JiKIx2rvCkvFr96RTxZt3sM-gL8xQgYO6ZD6uRmY4OFxQuNI9N3QaVTylAHRceEz4MgZpzuA
|mapid=83
|width=500
|height=500
}}

Plantilla:Copy to your site

Sample result

Enllaços
  • edu3.cat
  • edu365.cat
  • xtec.cat