|
|
Linha 1: |
Linha 1: |
− | <noinclude>__NOTOC__ | + | <noinclude>This template is explaining how to add widget to user's wiki. It should be added right above the sample section of Widget page.</noinclude><includeonly><div style="border: 2px solid black; background: #DFF4FF; padding: 10px; text-align: center; margin-top: 10px"> |
− | This widget allows you to add '''[http://documents.google.com/support/spreadsheets/bin/answer.py?hl=en&answer=87809 Google Spreadsheet Forms]''' to your wiki page. | + | '''To copy this widget to your wiki''', copy and paste the '''[{{fullurl:{{FULLPAGENAME}}|action=edit}} entire source of this article]''' into a page on your wiki, called '''{{FULLPAGENAME}}''' |
| | | |
− | It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
| + | If you don't have '''[[mediawikiwiki:Extension:Widget|Widget extension]]''' set up on your wiki, go to extension page on MediaWiki.org and follow '''[[mediawikiwiki:Extension:Widgets#Download_instructions|installation instructions]]'''. |
− | | + | </div></includeonly> |
− | To insert this widget, use the following code:
| + | |
− | | + | |
− | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
| + | |
− | |key=po-s58YMwf85Q3UxRzdGOBw
| + | |
− | |width=600
| + | |
− | |height=750
| + | |
− | }}</nowiki>
| + | |
− | | + | |
− | == Parameters ==
| + | |
− | * '''key''' - key parameter in emailing/embedding URL
| + | |
− | * '''width''' and '''height''' define form dimensions, 300x400 is default, but you might want to copy it from embed code since size depends on fields you have
| + | |
− | | + | |
− | {{Template:Copy to your site}}
| + | |
− | | + | |
− | == Related widgets ==
| + | |
− | * [[Widget:Google Document|Google Document]] - for embedding documents
| + | |
− | * [[Widget:Google Spreadsheet|Google Spreadsheet]] - for embedding spreadsheets
| + | |
− | * [[Widget:Google Presentation|Google Presentation]] - for embedding presentations
| + | |
− | | + | |
− | == Sample result ==
| + | |
− | {{#widget:{{PAGENAME}}
| + | |
− | |key=po-s58YMwf85Q3UxRzdGOBw
| + | |
− | |width=600
| + | |
− | |height=750
| + | |
− | }}
| + | |
− | </noinclude><includeonly><iframe src="http://spreadsheets.google.com/embeddedform?key=<!--{$key|escape:'urlpathinfo'}-->" width="<!--{$width|escape:'html'|default:300}-->" height="<!--{$height|escape:'html'|default:400}-->" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe></includeonly>
| + | |
Edição das 23h36min de 5 de novembro de 2008
This template is explaining how to add widget to user's wiki. It should be added right above the sample section of Widget page.