Difference between revisions of "Widget:Google Form"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
− | This widget allows you to add '''[ | + | This widget allows you to add '''[https://docs.google.com/forms Google Forms]''' to your wiki page. |
− | It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.] | + | It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC]. |
+ | Updated by [//www.ese.wustl.edu/~hgonzale Humberto Gonzalez]. | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
Line 18: | Line 19: | ||
− | </noinclude><includeonly><div style="width: <!--{$width|escape:'html'|default:300}-->px; height: <!--{$height|escape:'html'|default:400}-->px; overflow: hidden"><iframe src="https://docs.google.com/forms/d/e/<!--{$key|escape:'urlpathinfo'}-->/viewform?embedded=true" frameborder="<!--{$border|escape:'html'|default:0}-->" marginheight="0" marginwidth="0" style="position: relative; left: 0px; top: 0px">Loading...</iframe></div></includeonly> | + | </noinclude><includeonly><div style="width: <!--{$width|escape:'html'|default:300}-->px; height: <!--{$height|escape:'html'|default:400}-->px; overflow: hidden"><iframe src="https://docs.google.com/forms/d/e/<!--{$key|escape:'urlpathinfo'}-->/viewform?embedded=true" frameborder="<!--{$border|escape:'html'|default:0}-->" marginheight="0" marginwidth="0" style="width: <!--{$width|escape:'html'|default:300}-->px; height: <!--{$height|escape:'html'|default:400}-->px; position: relative; left: 0px; top: 0px">Loading...</iframe></div></includeonly> |
<!--<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="<!--{$border|escape:'html'|default:0}-->" marginheight="0" marginwidth="0">Loading...</iframe></includeonly>--> | <!--<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="<!--{$border|escape:'html'|default:0}-->" marginheight="0" marginwidth="0">Loading...</iframe></includeonly>--> |
Revision as of 15:22, 26 August 2016
This widget allows you to add Google Forms to your wiki page.
It was originally created by Sergey Chernyshev for Semantic Communities LLC. Updated by Humberto Gonzalez.
To insert this widget, use the following code:
{{#widget:Google Form |key=po-s58YMwf85Q3UxRzdGOBw |width=600 |height=750 |border=0 }}
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
/viewform?embedded=true" width="" height="" frameborder="" marginheight="0" marginwidth="0">Loading...</iframe></includeonly>-->