Difference between revisions of "Widget:WikiPage"

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=100% |height=600 }} </...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
== Using this widget ==
 
== Using this widget ==
 
<pre>
 
<pre>
{{#widget:UIFPage
+
{{#widget:WikiPage
 
|name=Main_Page
 
|name=Main_Page
 
|width=100%
 
|width=100%
Line 12: Line 12:
  
 
=== Output ===
 
=== Output ===
{{#widget:UIFPage
+
{{#widget:WikiPage
 
|name=Main_Page
 
|name=Main_Page
 
|width=100%
 
|width=100%
Line 19: Line 19:
  
 
== Copy to your site ==
 
== Copy to your site ==
</noinclude><includeonly><div id="embedWikiPage" data-page="<!--{$name|escape:'urlpathinfo'}-->" style="border: 1px solid #ccc; border-width: 1px 1px 0; margin-bottom: 5px; max-width: 100%;"></div></includeonly>
+
</noinclude><includeonly><div id="embedWikiPage" data-page="<!--{$name|escape:'urlpathinfo'}-->" data-width="<!--{$width|default:425|escape:'html'}-->" data-height="<!--{$height|default:355|escape:'html'}-->" style="border: 1px solid #ccc; margin-bottom: 5px; max-width: 100%;">'''Please wait content is loading!'''</div></includeonly>

Latest revision as of 09:26, 17 July 2020

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

Using this widget

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

Output

'''Please wait content is loading!'''

Copy to your site