Extension:GoogleForms
Appearance
Release status: beta |
|
|---|---|
| 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 |
| License | GNU General Public License 2.0 or later |
| Download | |
<googleforms /><gforms /> |
|
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]- Extension:BoilerPlate: Example extension that this extension is based off of
See also
[edit]- Extension:GoogleDocTag: Embed Google Docs onto wiki pages
- Extension:GoogleDocs4MW: Embed Google Spreadsheets onto wiki pages
| This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
