Widget:Google Form: Difference between revisions

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>