Difference between revisions of "Widget:Google Document"

From ICPWiki
Jump to: navigation, search
(Created page with "<noinclude>__NOTOC__ This widget allows you to add '''[http://documents.google.com/support/ Google Documents]''' to your wiki page. It was originally created by mediawikiwi...")
 
 
(One intermediate revision by the same user not shown)
Line 33: Line 33:
 
* [[Widget:Google Presentation|Google Presentation]] - for embedding presentations
 
* [[Widget:Google Presentation|Google Presentation]] - for embedding presentations
  
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="<!--{$frameborder|escape:'html'|default:1}-->"  src="http://docs.google.com/document/d/=<!--{$key|escape:'urlpathinfo'}-->/pub"></iframe></includeonly>
+
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="<!--{$frameborder|escape:'html'|default:1}-->"  src="http://docs.google.com/document/d/<!--{$key|escape:'urlpathinfo'}-->/pub?embedded=true"></iframe></includeonly>

Latest revision as of 15:32, 10 April 2014

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

It was originally created by Sergey Chernyshev for Semantic Communities LLC.

To insert this widget, use the following code:

{{#widget:Google Document
|key=1oaXwEkJf6o-oD19h5-OIN5Am3hy6KjJAFy_1ksJSWUM
|width=500
|height=300
|frameborder=1
}}

Parameters

  • width and height define document dimensions, 500x300 is default
  • key requires the key used to embed the document
  • frameborder the border of the embedding frame

Sample result

Template:Copy to your site

Related widgets