Help:WidgetTag/parameters


 * Overview: Specify values for any of these parameters just as you would for an attribute in any standard HTML tag. viz.
 * Each section heading is also the WidgetID.
 * Each section heading is also the WidgetID.


 * Example: Suppose you defined at User:Najevi/DemoWidget a custom WikiPage widget. To display that custom widget in a wiki article or blog/forum post use:

WikiPage
 * Renders as:
 * Note that the standard widget skin (or frame) is not displayed when widget tags are used to embed the widget within an article.
 * For an explanation of the red-links see that widget's doc sub-page.

ActiveTalkPages



 * limit
 * type=integer
 * default=10
 * range=1-50
 * OoR=15

AncientPages



 * limit
 * type=integer
 * default=10
 * range= 1-50
 * OoR=10

Contribs



 * limit
 * type=integer
 * range= 1-50
 * OoR=10

EditedRecently



 * limit
 * type=integer
 * default=5
 * range= 1-50
 * OoR=15

ProblemReports



 * limit
 * desc=how many do you want to show
 * type=integer
 * default=25
 * range=1-50
 * OoR= 25


 * show
 * desc=which type of reports to show in this widget
 * type=integer
 * values
 * 0 -&gt; all (default)
 * 1 -&gt; closed
 * 2 -&gt; need staff help


 * pr_table_problem_type
 * desc=which TYPE of report to show
 * type=integer
 * values
 * -1 -&gt; all (default)
 * 0 -&gt; spam
 * 1 -&gt; vandal
 * 2 -&gt; content
 * 3 -&gt; bug
 * 4 -&gt; other


 * pr_raports_from_this_wikia
 * desc=show from this wiki or ALL wikias
 * type= checkbox
 * values=
 * 0 -&gt; unchecked aka ALL wikis
 * 1 -&gt; checked aka THIS wiki only (default)

NeedHelp


no widget params

pulls from MediaWiki:Needhelp

RecentChanges



 * limit
 * desc=how many items to show
 * type=integer
 * default=10
 * range=1-50
 * OOR=15


 * hidebots
 * desc=bots, to show or not to show, that is the question
 * type=checkbox
 * values=
 * 0 -&gt; SHOWS bot edits in widget
 * 1 -&gt; HIDES bot edits in widget (default)

Referrers



 * wt_show_referrers
 * desc= show internal/external sites
 * type=integer
 * values=
 * 0 -&gt; 'Show also internal urls'
 * 1 -&gt; 'Show only external urls' (default)


 * limit
 * desc= how many to show
 * type=integer
 * range= 10-30
 * OoR= 25


 * wt_show_period
 * desc= how far back to go
 * type=string (in the format of Ymd, aka YYYYmmdd)
 * -1 month from today (default)
 * -3 months from today
 * -6 months from today

note, this widget may have problems being embedded, dues to its dynamic date range parameter (unless you don't use it)

ShoutBox



 * limit
 * type=integer
 * default=5
 * range=1-50
 * OoR=5

Slideshow



 * show
 * desc=which mode of widget to use
 * type=integer
 * values=
 * 1 -&gt; 'newest images' (default value)
 * 2 -&gt; 'random images'
 * 3 -&gt; 'from list'

If set to show=3, people with the right 'wteditimagelist' (sysop and staff), will see a link to the MediaWiki page where it pulls that list from, MediaWiki:WidgetSlideshowImages

The format of this page is this *File_name.ext description with spaces


 * filename cannot have spaces (use underscores), invalid lines ignored
 * first space on a line is used as the delimiter between filename and desc
 * description is shown on mouse over of image


 * limit
 * desc=how many to cycle through (ignored if show=3)
 * type=integer
 * default=10
 * range= 4-50
 * OOR=15

Tips


no widget params

Pulls from MediaWiki:Tips

format for page: no leading dot, just 1 blank line between each tip

example this is the first tip

this is the second tip

this is the 3rd tip

TopContent



 * at
 * desc=which section is shows as default
 * type=string
 * values=
 * most_visited (default)
 * most_popular
 * newly_changed
 * highest_ratings

See also
 * Featured - Special:Top/most visited
 * Most popular - Special:Top/most popular
 * Newly changed - Special:Top/newly changed
 * Highest ratings - Special:Top/highest ratings

WikiPage



 * source
 * type=string
 * desc=the name of the source page where you defined your widget (namespace is required, e.g.  for main namespace)
 * default: MediaWiki:widgetwikipage (e.g. if the source parameter isn't set)


 * The default contents of MediaWiki:widgetwikipage come from w:c:messaging:MediaWiki:widgetwikipage
 * Admins can edit MediaWiki:widgetwikipage to have better default instructions on how to setup their widget.