Difference between revisions of "Widget:Google Presentation"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
Line 6: Line 6:
 
To insert this widget, use the following code:
 
To insert this widget, use the following code:
  
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|docid=1WTMj189IVpNgSTpGWKwRpgVmcXsKAOOtZHYCQjuiBsc}}</nowiki>
+
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|docid=1Pjd_c1RyCicRJ7eRN6hM3LUdI3QFA2p64s28y3UTcK4}}</nowiki>
  
 
== Parameters ==
 
== Parameters ==
Line 16: Line 16:
  
 
== Sample result ==
 
== Sample result ==
{{#widget:Google Presentation|docid=1WTMj189IVpNgSTpGWKwRpgVmcXsKAOOtZHYCQjuiBsc}}
+
{{#widget:Google Presentation|docid=1Pjd_c1RyCicRJ7eRN6hM3LUdI3QFA2p64s28y3UTcK4}}
 
</noinclude><includeonly><!--{if $size eq 'medium'}--><iframe src='https://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->&amp;size=m' width='555' height='451' style="border: none"></iframe><!--{elseif $size eq 'large'}--><iframe src='https://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->&amp;size=l' width='700' height='559' style="border: none"></iframe><!--{else}--><iframe src='https://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->'  width='410' height='342' style="border: none"></iframe><!--{/if}--></includeonly>
 
</noinclude><includeonly><!--{if $size eq 'medium'}--><iframe src='https://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->&amp;size=m' width='555' height='451' style="border: none"></iframe><!--{elseif $size eq 'large'}--><iframe src='https://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->&amp;size=l' width='700' height='559' style="border: none"></iframe><!--{else}--><iframe src='https://docs.google.com/EmbedSlideshow?docid=<!--{$docid|escape:'urlpathinfo'}-->'  width='410' height='342' style="border: none"></iframe><!--{/if}--></includeonly>

Revision as of 12:56, 4 September 2020

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

It was originally created by Sergey Chernyshev.

To insert this widget, use the following code:

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

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)

To copy this widget to your wiki, copy and paste the entire source of this article into a page with the title Widget:Google Presentation on your wiki.

If you don't have the Widget extension set up on your wiki, go to its description page on MediaWiki.org and follow the installation instructions.


Sample result