Help:Widget:Google Spreadsheet: Difference between revisions

update demo with usage instructions
(update dimensions)
(update demo with usage instructions)
Line 1: Line 1:
== What is #widget:Google Spreadsheet? ==
The Google Spreadsheet widget allows you to add '''[http://documents.google.com/support/spreadsheets/ Google Spreadsheets]''' to your articles on MozillaWiki.
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
== How do I use it? ==
To use this widget to insert your spreadsheet into your page, use the following code:
<nowiki>{{#widget:Google Spreadsheet
|key=<id of google spreadhsheet>
|width=<width in pixels>
|height=<height in pixels>
}}</nowiki>
=== Parameters ===
* '''key''' - key id of the document you want to embed. You can get this from the url of your Google Spreadsheet.
* '''width''' and '''height''' define spreadsheet dimensions, in pixels. 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.
=== Required Permissions ===
In order for the spreadsheet to be visible to all users of the wiki, you'll need to set permissions accordingly on the Google spreadsheet that you want to share.
=== Real Example ===
{{#widget:Google Spreadsheet
{{#widget:Google Spreadsheet
|key=1SbMo-k6Z6wYVrqwNHzhITMe1sSkDVCHYE_P2QA98_5k
|key=1SbMo-k6Z6wYVrqwNHzhITMe1sSkDVCHYE_P2QA98_5k
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,698

edits