Difference between revisions of "Google Document"

From OpenWetWare
Jump to: navigation, search
 
m (Sample result)
 
(4 intermediate revisions by the same user not shown)
Line 29: Line 29:
 
|height=300
 
|height=300
 
}}
 
}}
</noinclude><includeonly><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></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 12: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 }}