Sandbox test1: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
m (Replaced content with "{{#widget:Google Presentation|docid=dcn37mcz_22cmnwnwf8}}")
Line 1: Line 1:
<noinclude>__NOTOC__
This widget allows you to add '''[http://documents.google.com/support/presentations/ Google Presentations]''' to a wiki page.
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
To insert this widget, use the following code:
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|docid=dcn37mcz_22cmnwnwf8}}</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)
== Related widgets ==
* [[Widget:Google Document|Google Document]] - for embedding documents
* [[Widget:Google Spreadsheet|Google Spreadsheet]] - for embedding spreadsheets
* [[Widget:Google Form|Google Form]] - for embedding spreadsheet forms
== Sample result ==
{{#widget:Google Presentation|docid=dcn37mcz_22cmnwnwf8}}
{{#widget:Google Presentation|docid=dcn37mcz_22cmnwnwf8}}
</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>

Revision as of 19:05, 29 May 2018