Difference between revisions of "Widget:Google Form"
From its-wiki.no
Josef.Noll (Talk | contribs) (→Parameters) |
Josef.Noll (Talk | contribs) |
||
(4 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 13: | Line 15: | ||
== Parameters == | == 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 | * '''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 == | == Sample result == | ||
− | {{#widget: | + | {{#widget:Google Form |
− | | | + | |id=1pbh8f8KCxXNXdqSKEe2kM-KYJuv8_BuEwqj6zAa8M68 |
− | |width= | + | |width=700 |
− | |height= | + | |height=350 |
}} | }} | ||
− | </noinclude><includeonly><iframe | + | </noinclude> |
+ | <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'}-->/viewform?usp=sharing<!--{elseif isset($key)}-->View?docID=<!--{$key|escape:'urlpathinfo'}-->&hgd=1<!--{/if}-->"> | ||
+ | </iframe> | ||
+ | </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