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...")
 
Line 32: Line 32:
 
* [[Widget:Google Form|Google Form]] - for embedding spreadsheet forms
 
* [[Widget:Google Form|Google Form]] - for embedding spreadsheet forms
 
* [[Widget:Google Presentation|Google Presentation]] - for embedding presentations
 
* [[Widget:Google Presentation|Google Presentation]] - for embedding presentations
 +
<iframe src="https://docs.google.com/document/d/1oaXwEkJf6o-oD19h5-OIN5Am3hy6KjJAFy_1ksJSWUM/pub?embedded=true"></iframe>
  
</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>

Revision as of 14:31, 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

<iframe src="https://docs.google.com/document/d/1oaXwEkJf6o-oD19h5-OIN5Am3hy6KjJAFy_1ksJSWUM/pub?embedded=true"></iframe>