Changes

From Wazeopedia

Widget:Google Spreadsheet

586 bytes added, 2 years ago
Annulation des modifications 14540 de Deeploz (discussion)
<noinclude>__NOTOC__
This widget allows you to add '''[http://documents.google.com/support/spreadsheets/ Google Spreadsheets]''' to your wiki page.
* Created by [httpshttp://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
* Since Google Docs migrated to Google Drive, the reference for the template code has change. The latest is available [http://wiki.glitchdata.com/index.php?title=Widget:Google_Spreadsheet here].
== Using this widget ==
For information on how to use this widget, see [httpshttp://www.mediawikiwidgets.org/Google_Spreadsheet widget description page on MediaWikiWidgets.org].
== Copy to your site Sample use ==  To use insert this widget on your site, just install [httpsuse the following code://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [  <nowiki>{{fullurl#widget:</nowiki>{{FULLPAGENAMEPAGENAME}}<nowiki>|actionkey=edit1HDGWluj1ffehMekq2I6E3GaFthQanMhbi6_2fj1xe-c|width=100%|height=300|page=true}} full source </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] of this since size depends on fields you have* '''page ''' - set it to your wiki as 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:{{FULLPAGENAMEPAGENAME}}'''.|key=1HDGWluj1ffehMekq2I6E3GaFthQanMhbi6_2fj1xe-c|width=100%|height=300|page=true}} </noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="0" src="https://spreadsheetsdocs.google.com/pubspreadsheet/ccc?key=<!--{$key|escape:'urlpathinfo'}--><!--{if not $page}-->&output=html&widget=true<!--{/if}-->"> </iframe></includeonly>