Actions

SemanticComments Sandbox/Widget examples

From Just in Time

Revision as of 01:27, 25 February 2015 by Danny (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a small example page that contains recommended widgets from the Widgets extension.

There are a lot of other very interesting widgets that my be worthwhile for you.

For example just have a look at the amazing SlideShare widget or Twitter widget that can also be embedded in any page. An extensive list of available widgets can be found at the official Widgets Catalog.

We have taken our SMW+ Facebook page as an example to provide you with a simple use case. Feel free to modify these parser functions and use them in any wiki page you want to.

{{#widget:Facebook Like Box
|profile=http://www.facebook.com/pages/SMW/192198727472226
|stream=false
|faces=false
|height=63
}}

creates this Facebook Like Box (see http://www.mediawikiwidgets.org/Facebook_Like_Box):

{{#widget:Facebook Like Box |profile=http://www.facebook.com/pages/SMW/192198727472226 |stream=false |faces=false |height=63 }}


A Google Calendar (more information is available at http://www.mediawikiwidgets.org/Google_Calendar) is embedded with this code:

{{#widget:Google Calendar
|id=si8ocqn3duj6f8int3h57jm8qeunplut@import.calendar.google.com
|color=528800
|id=p2m2av9dhrh4n1ub7jlsc68s7o@group.calendar.google.com
|color=2952A3
|id=usa@holiday.calendar.google.com
|color=B1440E
|title=TechPresentations, NYCResistor, US Holidays
}}

and looks like this:

{{#widget:Google Calendar |id=si8ocqn3duj6f8int3h57jm8qeunplut@import.calendar.google.com |color=528800 |id=p2m2av9dhrh4n1ub7jlsc68s7o@group.calendar.google.com |color=2952A3 |id=usa@holiday.calendar.google.com |color=B1440E |title=TechPresentations, NYCResistor, US Holidays }}