Difference between revisions of "Widget:UIFPage"

From University Innovation Fellows
Jump to navigation Jump to search
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed UIF Page to your wiki page. == Using this widget == <pre> {{#widget:UIFPage |name=Main_Page |width=800 |height=600 }} </p...")
 
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
{{#widget:UIFPage
 
{{#widget:UIFPage
 
|name=Main_Page
 
|name=Main_Page
|width=800
+
|width=100%
 
|height=600
 
|height=600
 
}}
 
}}
Line 14: Line 14:
 
{{#widget:UIFPage
 
{{#widget:UIFPage
 
|name=Main_Page
 
|name=Main_Page
|width=800
+
|width=100%
 
|height=600
 
|height=600
 
}}
 
}}
  
 
== Copy to your site ==
 
== Copy to your site ==
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 src="https://universityinnovation.org/wiki/<!--{$name|escape:'urlpathinfo'}-->" width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:355|escape:'html'}-->" marginwidth="0" marginheight="0" scrolling="yes" style="border: 1px solid #ccc; border-width: 1px 1px 0; margin-bottom: 5px; max-width: 100%;"></iframe></includeonly>
 
</noinclude><includeonly><iframe src="https://universityinnovation.org/wiki/<!--{$name|escape:'urlpathinfo'}-->" width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:355|escape:'html'}-->" marginwidth="0" marginheight="0" scrolling="yes" style="border: 1px solid #ccc; border-width: 1px 1px 0; margin-bottom: 5px; max-width: 100%;"></iframe></includeonly>

Latest revision as of 06:31, 17 July 2020

This widget allows you to embed UIF Page to your wiki page.

Using this widget

{{#widget:UIFPage
|name=Main_Page
|width=100%
|height=600
}}

Output

Copy to your site