Help:WidgetTag

 List of WidgetIDs
 * ActiveTalkPages
 * AncientPages
 * Bookmark
 * Community
 * Contribs
 * EditedRecently
 * LastWikis
 * MostVisited
 * NeedHelp
 * NewPages
 * ProblemReports
 * RecentChanges
 * Referrers
 * ShoutBox
 * Slideshow
 * Tips
 * TopContent
 * TopUsers
 * TopVoted
 * Watchlist
 * WikiPage

Most Widgets can be embedded on any page using the  tags. Simply replace "WidgetID" with one of the names listed on the right.

What is a widget?
Widgets are self-contained tools which provide information or navigation to users. In the past they could only be displayed on your sidebar or on Special:WidgetDashboard, but now they can be displayed on pages or in templates.

Many widgets have parameters that allow you to further customize how it displays.

How do I embed a widget?
To have the "Community" widget display below, we use the following code. Please recognize the format:

Community

This renders as:

Community

If a specific widget allows you to use parameters, then you would tell it the parameters the same way you would define attributes in an html tag. If you do not understand, please refer to this example:



RecentChanges
 * Creates:

RecentChanges
 * In the above example, the WidgetID is "RecentChanges", the parameter is "limit", and the value given to the parameter is "5". You can have multiple parameters with multiple values.

Read more about widget parameters below.

Can I float the widget?
A widget can be floated to the left or to the right so that the page text flows around it:

Top Users TopUsers Recent changes RecentChanges

Example
The Recent Changes widget is floated to the right and the Top Users widget is floated to the left of the following text:

Recent changes RecentChanges Top Users TopUsers

Lorem ipsum qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar qwerty foo bar.



Parameters
Most widgets have a few parameters that you can use with the  tag to adjust how the widget looks and acts on the page. These are the same options that you can personally customize when its in your sidebar but, in the case of in-page widgets these settings will be seen by anyone viewing that page.

All of these parameters have a default value, so you don't need to worry about defining all the parameters if you don't want to. All of them also have a limited range that the values given to the parameters can be, so it's not possible to break anything, so please feel free to experiment with them.

de:Hilfe:Widget-Tags