Widget
From its-wiki.no
Revision as of 12:19, 3 February 2016 by Josef.Noll (Talk | contribs)
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
Widgets used on this Mediawiki. For other widgets, create the Widget:Mediawiki by copying code into this Wiki
- YouTube widget
- LinkedIN Widget
- Social AddThis
- Bikemap
- Iframe Widget
- Google Document
- Google Form
- Other Widgets
{{#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
This widget allows you to add Google Documents to your wiki page. It was originally created by Sergey Chernyshev for Semantic Communities LLC. To insert this widget, use the following code:
{{#widget:Google_Document |id=1hhpWRL4oyH6Aqf42laXo_lElObX_1JiaV4FMt8llA_U |width=500 |height=300 }}
Parameters
- width and height define document dimensions, 500x300 is default
- id - id parameter used in the URL
- key - docID parameter used in old document URL (use it instead of id to embed old document)
- Note
- In order for your embedded Google Doc to be visible on your wiki, you must first publish it to the web.
- Open your document.
- From the document menu, choose File > Publish to the Web...
- Click "Start publishing" button.
- See also: Publishing does not affect visibility options
It was originally created by Sergey Chernyshev for Semantic Communities LLC. To insert this widget, use the following code:
{{#widget:Google Form |key=po-s58YMwf85Q3UxRzdGOBw |width=600 |height=750 }}
other widgets: mediawiki widgets
Testing of widgets
- LinkedIN widget: Test_LinkedIn_Profile
- Youtube: YouTubeWidget-test