Difference between revisions of "Widget"

From its-wiki.no
Jump to: navigation, search
(Testing IFrame)
Line 44: Line 44:
 
Include another page through an IFrame
 
Include another page through an IFrame
  
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
+
  <nowiki>{{#widget:Iframe
 
|url=http://docs.google.com/present/embed?id=dcn37mcz_22cmnwnwf8
 
|url=http://docs.google.com/present/embed?id=dcn37mcz_22cmnwnwf8
 
|width=410
 
|width=410

Revision as of 13:26, 24 March 2014

Widgets used on this Mediawiki. For other widgets, create the Widget:Mediawiki by copying code into this Wiki

{{#widget:WidgetName|param1=value1|param2=value2}}
{{#widget:YouTube|id=DWef69ItVrU}}
  • id - video id (from the URL)
  • playlist - playlist name (starts with PL) - first clip is played (id is ignored)
  • height and width define view dimensions, 420x350 is default


add this:

Allows wiki administrators to add free-form widgets to the wiki by editing pages within the Widget namespace. Community-contributed widgets can be found on MediaWikiWidgets.org



Radroute 859435 - powered by Bikemap 

Include another page through an IFrame

{{#widget:Iframe
|url=http://docs.google.com/present/embed?id=dcn37mcz_22cmnwnwf8
|width=410
|height=342
|border=0
}}

Parameters

  • url - URL of page being inserted
  • width - width of the iframe (default is 400)
  • height - height of the iframe (default is 300)
  • border - border width (default is 1)

Testing IFrame

jnoll.net

other widgets: mediawiki widgets

Testing of widgets