Jump to content

Template:Infobox Wikipedia user script/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Equazcion (talk | contribs) at 03:42, 8 October 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This infobox is intended to be used for Wikipedia:User scripts.

Usage

Place the following at the top of the script page:

{{infobox user script
 | name = script name

 | author = script author
 | updated = last update date
 | status = development status
 | source = link to source code
 | skins = supported skins
 | browsers = supported browsers

 | mainsource = main source file to install
 | install-target = page to install to
}}

The following parameters are recognized:

name
The name of the script. Defaults to including page name.
author
updated
The date of last update. {{start date and age}} may be helpful here.
status
Script's development status: inactive, stable, experimental.
source
skins
browsers

The following parameters can aid in automatic installation:

mainsource
The main source file, which is to be loaded from the user's custom script.
install-target
The preferred page on which the script should be included. The default is common.js.

The "install-page" parameter is obsolete and ignored. Recent versions of MediaWiki made the preloading hack used by this template non-functional.

See also