Actions

Widget

Iframe : Différence entre versions

De erg

 
Ligne 4 : Ligne 4 :
 
== Using this widget ==
 
== Using this widget ==
 
<nowiki>{{#widget:Iframe|src=http://some.url/|width=100%|height=60}}</nowiki>
 
<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="<!--{$width|default:'100%'|escape:'html'}-->" height="<!--{$height|default:'60'|escape:'html'}-->" src="<!--{$src}-->" frameborder="0" ></iframe></includeonly>
 
</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.