Diferencia entre revisiones de «Widget:Google Presentation»

De Casiopea
Sin resumen de edición
 
(No se muestran 5 ediciones intermedias de 2 usuarios)
Línea 2: Línea 2:
This widget allows you to add '''[http://documents.google.com/support/presentations/ Google Presentations]''' to your wiki page.
This widget allows you to add '''[http://documents.google.com/support/presentations/ Google Presentations]''' to your wiki page.


It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
[https://wiki.mozilla.org/Widget:Google_Presentation Código original]


To insert this widget, use the following code:
To insert this widget, use the following code:


  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|docid=dcn37mcz_22cmnwnwf8}}</nowiki>
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|docid=1jsux1B_KaAZDbpvM8z7wKpdaYO6F_tOmtPkPvBbJcLw}}</nowiki>


== Parameters ==
== Parameters ==
* '''docid''' - docid parameter in document URL
* '''docid''' - docid parameter in document URL
* '''size''' - (optional) allows you to change the size of presentation from small (410x342) to  '''medium''' (555x451) or '''large''' (700x599)
* '''size''' - (optional) allows you to change the size of presentation from small (410x342) to  '''medium''' (555x451) or '''large''' (700x599)
{{Template:Copy to your site}}


== Related widgets ==
== Related widgets ==
Línea 20: Línea 18:


== Sample result ==
== Sample result ==
{{#widget:Google Presentation|docid=dcn37mcz_22cmnwnwf8}}
===Small===
</noinclude><includeonly><!--{if $size eq 'medium'}--><iframe src='http://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->&amp;size=m' frameborder='0' width='555' height='451'></iframe><!--{elseif $size eq 'large'}--><iframe src='http://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->&amp;size=l' frameborder='0' width='700' height='559'></iframe><!--{else}--><iframe src='http://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->' frameborder='0' width='410' height='342'></iframe><!--{/if}--></includeonly>
{{#widget:Google Presentation|docid=1jsux1B_KaAZDbpvM8z7wKpdaYO6F_tOmtPkPvBbJcLw}}
 
===Medium===
{{#widget:Google Presentation|docid=1jsux1B_KaAZDbpvM8z7wKpdaYO6F_tOmtPkPvBbJcLw|size=medium}}
 
===Large===
{{#widget:Google Presentation|docid=1jsux1B_KaAZDbpvM8z7wKpdaYO6F_tOmtPkPvBbJcLw|size=large}}
</noinclude>
 
<includeonly><!--{if $size eq 'medium'}--><iframe src="//docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/embed?start=<!--{$start|escape:'html'|default:'false'}-->&loop=<!--{$loop|escape:'html'|default:'false'}-->&delayms=<!--{$delay|escape:'html'|default:'3000'}-->" frameborder='0' width='960' height='569'></iframe><!--{elseif $size eq 'large'}--><iframe src="//docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/embed?start=<!--{$start|escape:'html'|default:'false'}-->&loop=<!--{$loop|escape:'html'|default:'false'}-->&delayms=<!--{$delay|escape:'html'|default:'3000'}-->" frameborder='0' width='1440' height='839'></iframe><!--{else}--><iframe src="//docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/embed?start=<!--{$start|escape:'html'|default:'false'}-->&loop=<!--{$loop|escape:'html'|default:'false'}-->&delayms=<!--{$delay|escape:'html'|default:'3000'}-->" frameborder='0' width='480' height='299'></iframe><!--{/if}--></includeonly>


<noinclude>
<noinclude>
[[Category:Widgets]]
[[Category:Widgets]]
</noinclude>
</noinclude>

Revisión actual - 14:47 18 ago 2020

This widget allows you to add Google Presentations to your wiki page.

Código original

To insert this widget, use the following code:

{{#widget:Google Presentation|docid=1jsux1B_KaAZDbpvM8z7wKpdaYO6F_tOmtPkPvBbJcLw}}

Parameters

  • docid - docid parameter in document URL
  • size - (optional) allows you to change the size of presentation from small (410x342) to medium (555x451) or large (700x599)

Related widgets

Sample result

Small

Medium

Large