Template:WEiFrame/doc

A template for providing WikiEducator Snapshot-friendly iframe invocations, including CSS id and classes as well as an arbitrary CSS style string.

{	"description": "WikiEducator iFrame", "params": { "source": { "label": "Source", "description": "The full URI or web address of the content to be pulled into the iframe.", "aliases": [], "default": "", "type": "string" },		"title": { "label": "Title", "description": "The desired title for the iframe (optional).", "aliases": [], "default": "", "type": "string" },               "classes": { "label": "CSS classes", "description": "optional additional CSS class or classes to apply to the iframe (advanced use)", "default": "we-iframe", "aliases": ["class"], "type": "string" },               "id": { "label": "CSS id", "description": "optional CSS id to assign to the iframe (advanced use)", "aliases": [], "type": "string" },               "style": { "label": "Style", "description": "a CSS style string, e.g. 'width: 50%; height: 200px' (advanced use)", "aliases": [], "type": "string" }	} }

Parameters

 * source:the full source URI (usually starting with "https://") for the content to be displayed in the iframe
 * title:the desired title to display above the iframe
 * classes:optional classes to add to the iframe
 * id:optional HTML id for the iframe
 * style:optional CSS style string

Other references: https://www.mediawiki.org/wiki/Extension:Iframe https://www.mediawiki.org/wiki/Extension:IframePage