User:Najevi/Widget

 This page is a proposal to facilitate the reuse of custom widgets and to avoid duplication.

Various custom WikiPage widgets created by users at the are created as separate sub-pages below this page. WikiPage

That list is the content from Special:PrefixIndex/Widget presented inside an embedded WikiPage widget named Widget/UserWidgets

That particular widget produces 3 column output so is not suitable for the Monaco Sidebar but is perfectly fine for sidebar_3 at the widget dashboard. It is only marginally suitable for use in sidebar_4 at the widget dashboard.

Content from most Special: pages can be used inside a custom widget.
 * 1) First create a sub-page here e.g. Widget/UserWidgets
 * 2) then at that sub-page transclude the special page of interest e.g.
 * 3) Add a new WikiPage widget to the sidebar or widget dashboard and edit the "Source page" parameter to read
 * 4) * notice the deliberate  prefix to identify the main namespace. Whenever you create a custom widget you must specify both the namespace and page name.
 * 5) You can give the widget any title that you wish. When embedded in a page the title bar is not displayed but when you view that same custom widget in your dashboard (or sidebar) your custom title will be displayed.

 Note that these custom widgets may or may not exist at other wikis you may visit. Even when a user at that other wiki has created an equivalent custom widget there is a very good chance that a different page name was used for the source page.
 * This is a problem in search of a w:c:central:widget repository for user defined custom widgets to encourage re-use rather than duplication.
 * Some additional support for the WikiPage widget framework to recognize a  prefix in the source page parameter is necessary to enable such sharing

See also: w:c:vsk:MediaWiki:Gadget-myContent/doc

See also: w:c:vsk:MediaWiki:Gadget-myLZ/doc