Jump to content

Extension:GoogleForms

From mediawiki.org
MediaWiki extensions manual
GoogleForms
Release status: unstable
Implementation Tag
Description This extension allows users to embed Google Forms
Author(s) Claire (BlankEclairtalk)
Compatibility policy Main branch maintains backward compatibility.
MediaWiki >= 1.42.0
Database changes No
‎<googleforms />
‎<gforms />
Licence GNU General Public License 2.0 or later
Download
Warning Warning: This extension currently doesn't work because the download fails across multiple web browsers and multiple formats.

This is an extension that allows you to embed Google Forms onto wiki pages via iframes.

Usage

[edit]

Call the ‎<gforms /> or ‎<googleforms /> tag with the following attributes:

  • id (required): The ID of the form. This is the "XYZ" part in "https://docs.google.com/forms/d/e/XYZ/viewform".
  • width (optional): The width of the iframe in CSS pixels, or a percentage.
  • height (optional): The height of the iframe in CSS pixels, or a percentage.
  • style (optional): Inline CSS for the iframe.
  • class (optional): Classes for the iframe.

Examples

[edit]
<gforms id="1FAIpQLScPoWuT5Udr3gGi6YZoreUIEUY8sb1xCTtfidZmFr1mlDqBSQ" />
<gforms id="1FAIpQLScPoWuT5Udr3gGi6YZoreUIEUY8sb1xCTtfidZmFr1mlDqBSQ" width="100%" height="500" />
<gforms id="1FAIpQLScPoWuT5Udr3gGi6YZoreUIEUY8sb1xCTtfidZmFr1mlDqBSQ" width="100%" class="google-form" style="height: 50em" />

Credits

[edit]

See also

[edit]