Iframe : Différence entre versions
De erg
(Page créée avec « <noinclude>__NOTOC__ This widget allows you to embed iframes on your wiki page. == Using this widget == <nowiki>{{#widget:Iframe|url=http://some.url/|height=240}}</nowiki... ») |
|||
(Une révision intermédiaire par le même utilisateur non affichée) | |||
Ligne 3 : | Ligne 3 : | ||
== Using this widget == | == Using this widget == | ||
− | <nowiki>{{#widget:Iframe| | + | <nowiki>{{#widget:Iframe|src=http://some.url/|width=100%|height=60}}</nowiki> |
+ | |||
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''. | To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''. | ||
− | </noinclude><includeonly><iframe width="100%" height="60" src="<!--{$ | + | </noinclude><includeonly><iframe width="<!--{$width|default:'100%'|escape:'html'}-->" height="<!--{$height|default:'60'|escape:'html'}-->" src="<!--{$src}-->" frameborder="0" ></iframe></includeonly> |
Version actuelle datée du 18 juillet 2019 à 13:53
This widget allows you to embed iframes on your wiki page.
Using this widget
{{#widget:Iframe|src=http://some.url/|width=100%|height=60}}
To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Iframe.