Difference between revisions of "Widget:Google Presentation"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>__NOTOC__
+
<noinclude>__NOTOC__  
 
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.   
  
 
== Using this widget ==
 
== Using this widget ==
 
For information on how to use this widget, see [[Help:Widgets/Google Presentation]] widget description page.
 
For information on how to use this widget, see [[Help:Widgets/Google Presentation]] widget description page.
 
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]].
 
 
To insert this widget, use the following code:
 
 
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|docid=1Pjd_c1RyCicRJ7eRN6hM3LUdI3QFA2p64s28y3UTcK4}}</nowiki>
 
 
== 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)
 
 
{{Template:Copy to your site}}
 
 
 
== Sample result ==
 
{{#widget:Google Presentation|docid=1Pjd_c1RyCicRJ7eRN6hM3LUdI3QFA2p64s28y3UTcK4}}
 
 
</noinclude>
 
</noinclude>
 
  
 
<includeonly><!--{if $size eq 'medium'}--><iframe src='https://docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/preview' frameborder='0' width='555' height='451' ></iframe><!--{elseif $size eq 'large'}--><iframe src='https://docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/preview' frameborder='0' width='700' height='559'> </iframe><!--{else}--><iframe src='https://docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/preview' frameborder='0' width='388' height='342'></iframe><!--{/if}--></includeonly>
 
<includeonly><!--{if $size eq 'medium'}--><iframe src='https://docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/preview' frameborder='0' width='555' height='451' ></iframe><!--{elseif $size eq 'large'}--><iframe src='https://docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/preview' frameborder='0' width='700' height='559'> </iframe><!--{else}--><iframe src='https://docs.google.com/presentation/d/<!--{$docid|escape:'urlpathinfo'}-->/preview' frameborder='0' width='388' height='342'></iframe><!--{/if}--></includeonly>

Revision as of 13:01, 4 September 2020

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

Using this widget

For information on how to use this widget, see Help:Widgets/Google Presentation widget description page.