Difference between revisions of "Widget"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | [[Title:Widgets used on this Mediawiki]]. For other widgets, create the Widget:Mediawiki by copying code into this Wiki | + | [[Title::Widgets used on this Mediawiki]]. For other widgets, create the Widget:Mediawiki by copying code into this Wiki |
=YouTube widget = | =YouTube widget = |
Revision as of 07:58, 13 April 2015
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
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
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
- LinkedIN widget: Test_LinkedIn_Profile
- Youtube: YouTubeWidget-test