Difference between revisions of "Widget:Google Document"

From Bogleheads
Jump to navigation Jump to search
m (cleanup)
m (added category)
Line 30: Line 30:
 
}}
 
}}
 
</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><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>
 +
 +
[[Category:Widgets]]

Revision as of 01:40, 5 November 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

To copy this widget to your wiki, copy and paste the entire source of this article into a page on your wiki, called Widget:Google Document

If you don't have extension set up on your wiki, go to extension page on MediaWiki.org and follow installation instructions.

Related widgets

Sample result