Widget: Google Form: Difference between revisions

From Innovation
Jump to: navigation, search
No edit summary
 
Line 25: Line 25:
== Sample result ==
== Sample result ==
{{#widget:{{PAGENAME}}
{{#widget:{{PAGENAME}}
|key=https://docs.google.com/forms/d/e/po-s58YMwf85Q3UxRzdGOBw
|key=po-s58YMwf85Q3UxRzdGOBw
|width=600
|width=600
|height=750
|height=750
}}
}}
</noinclude><includeonly><iframe src="<!--{$key|escape:'urlpathinfo'}-->/viewform?embedded=true" width="<!--{$width|escape:'html'|default:300}-->" height="<!--{$height|escape:'html'|default:400}-->" frameborder="0" marginheight="0" marginwidth="0">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:300}-->" height="<!--{$height|escape:'html'|default:400}-->" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe></includeonly>

Latest revision as of 07:51, 16 November 2017

This widget allows you to add Google Spreadsheet Forms to your wiki page.

It was originally created by Sergey Chernyshev.

To insert this widget, use the following code:

{{#widget:Google Form
|key=po-s58YMwf85Q3UxRzdGOBw
|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

To copy this widget to your wiki, copy and paste the entire source of this article into a page with the title Widget:Google Form on your wiki.

If you don't have the Widget extension set up on your wiki, go to its description page on MediaWiki.org and follow the installation instructions.

Related widgets

Sample result