Widget:Google Form: Difference between revisions

From EUSwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
* '''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


{{Template:Copy to your site}}


== Related widgets ==
== Related widgets ==
Line 25: Line 24:
== Sample result ==
== Sample result ==
{{#widget:{{PAGENAME}}
{{#widget:{{PAGENAME}}
|key=po-s58YMwf85Q3UxRzdGOBw
|key=1FAIpQLSfLRDkWKgWAEnfFHlgRcBwJSoXLudwas6dHO9ozMgnzVbV_9g
|width=600
|width=600
|height=750
|height=750
}}
}}
</noinclude><includeonly><iframe src="https://docs.google.com/forms/d/e/<!--{$key|escape:'urlpathinfo'}-->/viewform?embedded=true" width="<!--{$width|escape:'html'|default:760}-->" height="<!--{$height|escape:'html'|default:500}-->" marginheight="0" marginwidth="0" style="border: none">Loading...</iframe></includeonly>
</noinclude><includeonly><iframe src="https://docs.google.com/forms/d/e/<!--{$key|escape:'urlpathinfo'}-->/viewform?embedded=true" width="<!--{$width|escape:'html'|default:760}-->" height="<!--{$height|escape:'html'|default:500}-->" marginheight="0" marginwidth="0" style="border: none">Loading...</iframe></includeonly>

Latest revision as of 12:10, 12 March 2018

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
|key=1FAIpQLSfLRDkWKgWAEnfFHlgRcBwJSoXLudwas6dHO9ozMgnzVbV_9g
|width=600
|height=750
}}

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


Related widgets

Sample result