Difference between revisions of "Widget:Google Form"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
+ | <BIG> does not work on this wiki </BIG> | ||
+ | |||
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. | 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. | ||
Line 7: | Line 9: | ||
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | ||
− | | | + | |id=1pbh8f8KCxXNXdqSKEe2kM-KYJuv8_BuEwqj6zAa8M68 |
|width=600 | |width=600 | ||
|height=750 | |height=750 | ||
Line 17: | Line 19: | ||
== Sample result == | == Sample result == | ||
− | {{#widget: | + | {{#widget:Google Form |
− | | | + | |id=1pbh8f8KCxXNXdqSKEe2kM-KYJuv8_BuEwqj6zAa8M68 |
|width=700 | |width=700 | ||
|height=350 | |height=350 | ||
Line 24: | Line 26: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="1" src="https://docs.google.com/<!--{if isset($id)}-->form/d/<!--{$id|escape:'urlpathinfo'}-->/ | + | <iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="1" src="https://docs.google.com/<!--{if isset($id)}-->form/d/<!--{$id|escape:'urlpathinfo'}-->/viewform?usp=sharing<!--{elseif isset($key)}-->View?docID=<!--{$key|escape:'urlpathinfo'}-->&hgd=1<!--{/if}-->"> |
</iframe> | </iframe> | ||
</includeonly> | </includeonly> |
Latest revision as of 12:35, 3 February 2016
does not work on this wiki
This widget allows you to add Google Spreadsheet Forms to your wiki page.
It was originally created by Sergey Chernyshev for Semantic Communities LLC.
To insert this widget, use the following code:
{{#widget:Google Form |id=1pbh8f8KCxXNXdqSKEe2kM-KYJuv8_BuEwqj6zAa8M68 |width=600 |height=750 }}
Parameters
- id - 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
Sample result