Kentsmith9 (talk | contribs) (Update code) |
Kentsmith9 (talk | contribs) (test) |
||
Line 13: | Line 13: | ||
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | ||
|key= | |key=1HDGWluj1ffehMekq2I6E3GaFthQanMhbi6_2fj1xe-c | ||
|width= | |width=100% | ||
|height=300 | |height=300 | ||
|page=true | |||
}}</nowiki> | }}</nowiki> | ||
Line 28: | Line 29: | ||
== Sample result == | == Sample result == | ||
{{#widget:{{PAGENAME}} | {{#widget:{{PAGENAME}} | ||
|key= | |key=1HDGWluj1ffehMekq2I6E3GaFthQanMhbi6_2fj1xe-c | ||
|width=100% | |width=100% | ||
|height= | |height=300 | ||
|page=true | |page=true | ||
}} | }} |
Latest revision as of 08:20, 5 December 2014
This widget allows you to add Google Spreadsheets to your wiki page.
- Created by Sergey Chernyshev
- Since Google Docs migrated to Google Drive, the reference for the template code has change. The latest is available here.
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
Sample use
To insert this widget, use the following code:
{{#widget:Google Spreadsheet |key=1HDGWluj1ffehMekq2I6E3GaFthQanMhbi6_2fj1xe-c |width=100% |height=300 |page=true }}
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