Google Document: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
|width=500
|width=500
|height=300
|height=300
}}  
}}
</noinclude><includeonly><table><tr><td style="background: url(/skins/monobook/googledocs_bg.png) center right no-repeat;"><span style="font-weight:bold; float:left"><!--{$key|escape:'urlpathinfo'}--></span><span style="font-weight:bold; float:right"><a href="http://docs.google.com/View?docID=<!--{$key|escape:'urlpathinfo'}-->&hgd=1">Edit Google Document</a></span></td></tr><tr><td><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="1"  src="http://docs.google.com/View?docID=<!--{$key|escape:'urlpathinfo'}-->&hgd=1"></iframe></td></tr></table></includeonly>
</noinclude><includeonly><table><tr><td style="background: url(/skins/monobook/googledocs_bg.png) center right no-repeat;"><span style="font-weight:bold; float:left"><!--{$key|escape:'urlpathinfo'}--></span><span style="font-weight:bold; float:right"><a href="http://docs.google.com/View?docID=<!--{$key|escape:'urlpathinfo'}-->&hgd=1">View/Edit Document</a></span></td></tr><tr><td><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="1"  src="http://docs.google.com/View?docID=<!--{$key|escape:'urlpathinfo'}-->&hgd=1"></iframe></td></tr></table></includeonly>

Latest revision as of 13:43, 16 June 2009

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=dcn37mcz_34cvfjpmhf
|width=500
|height=300
}}

Parameters

  • docid - docID parameter in document URL
  • width and height define document dimensions, 500x300 is default

Template:Copy to your site

Related widgets

Sample result

{{#widget:Google Document |key=dcn37mcz_34cvfjpmhf |width=500 |height=300 }}