Difference between revisions of "Widget"

From its-wiki.no
Jump to: navigation, search
Line 76: Line 76:
 
|border=2
 
|border=2
 
}}
 
}}
= Google Document =
+
= Google Docs and Formsument =
This widget allows you to add '''[http://documents.google.com/support/ Google Documents]''' to your wiki page.
+
''Could not get them running, use the Iframe widget instead''
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
+
To insert this widget, use the following code:
+
 
+
<nowiki>{{#widget:Google_Document
+
|id=1hhpWRL4oyH6Aqf42laXo_lElObX_1JiaV4FMt8llA_U
+
|width=500
+
|height=300
+
}}</nowiki>
+
 
+
== 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: [http://support.google.com/docs/bin/answer.py?hl=en&answer=183965 Publishing does not affect visibility options]
+
 
+
= Google Form =
+
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
+
To insert this widget, use the following code:
+
 
+
<nowiki>{{#widget:Google Form
+
|key=po-s58YMwf85Q3UxRzdGOBw
+
|width=600
+
|height=750
+
}}</nowiki>
+
 
+
 
+
 
= Other Widgets =
 
= Other Widgets =
 
other widgets: [http://www.mediawikiwidgets.org/w/index.php?title=Special:AllPages&from=&namespace=274 mediawiki widgets]
 
other widgets: [http://www.mediawikiwidgets.org/w/index.php?title=Special:AllPages&from=&namespace=274 mediawiki widgets]

Revision as of 12:39, 3 February 2016

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

Could not get them running, use the Iframe widget instead

other widgets: mediawiki widgets

Testing of widgets