Difference between revisions of "Widget:Google Document"

From Bogleheads
Jump to navigation Jump to search
(Put back category)
(Exclude category from inclusion.)
Line 24: Line 24:
  
 
== Sample result ==
 
== Sample result ==
 +
 
{{#widget:{{PAGENAME}}
 
{{#widget:{{PAGENAME}}
 
|key=dcn37mcz_34cvfjpmhf
 
|key=dcn37mcz_34cvfjpmhf
Line 30: Line 31:
 
}}
 
}}
 
</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]]
+
<noinclude>[[Category:Widgets]]</noinclude>

Revision as of 20:00, 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