Changes

Jump to navigation Jump to search
1,040 bytes removed ,  14:58, 16 December 2010
refer to source documentation
Line 1: Line 1:  
<noinclude>__NOTOC__
 
<noinclude>__NOTOC__
This widget allows you to add '''[http://documents.google.com/support/spreadsheets/ Google Spreadsheets]''' to your wiki page.
+
This widget allows you to add [http://documents.google.com/support/spreadsheets/ Google Spreadsheets] to your wiki page.
   −
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
+
See this page for documentation:
   −
See http://www.mediawikiwidgets.org/Widget:Google_Spreadsheet and http://www.mediawikiwidgets.org/Google_Spreadsheet for usage instructions.
+
http://www.mediawikiwidgets.org/Google_Spreadsheet
 
  −
To insert this widget, use the following code:
  −
 
  −
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
  −
|key=0AlW_faI_kXyTdHVIX1dRYkhZc3JvWnB2bDZpLWpVQmc
  −
|width=500
  −
|height=300
  −
|page=true
  −
}}</nowiki>
  −
 
  −
== Parameters ==
  −
* '''key''' - key parameter in document URL
  −
* '''width''' and '''height''' define spreadsheet dimensions, 500x300 is default, but you might want to copy it from embed code since size depends on fields you have
  −
* '''page''' - set it to embed whole page with edit links and more.
  −
 
  −
== Security NOTE ==
  −
Keep in mind that to use this widget you must make the document you're publishing to be open for everybody to see, which might be undesirable for some uses (intranets, closed groups, and etc.)
  −
 
  −
== Sample result ==
  −
{{#widget:Google_Spreadsheet
  −
|key=prmAzXfjwrEgNIXJOFYmbcA
  −
|width=850
  −
|height=400
  −
|page=true
  −
}}
      
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="0" src="http://spreadsheets.google.com/pub?key=<!--{$key|escape:'urlpathinfo'}--><!--{if not $page}-->&output=html&widget=true<!--{/if}-->"></iframe></includeonly>
 
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="0" src="http://spreadsheets.google.com/pub?key=<!--{$key|escape:'urlpathinfo'}--><!--{if not $page}-->&output=html&widget=true<!--{/if}-->"></iframe></includeonly>

Navigation menu