m (Reverted edits by NetHunter (talk) to last revision by Kentsmith9) |
(https fix) |
||
Línea 34: | Línea 34: | ||
}} | }} | ||
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="0" src=" | </noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="0" src="https://spreadsheets.google.com/pub?key=<!--{$key|escape:'urlpathinfo'}--><!--{if not $page}-->&output=html&widget=true<!--{/if}-->"></iframe></includeonly> |
Revisión del 16:25 4 dic 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=po-s58YMwf85Q3UxRzdGOBw |width=500 |height=300 }}
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