Template:Infobox user script
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-page = page to preload when installing | 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:
- install-page
- If included, an "Install" button will appear, which will open the install-target subpage in the user's namespace, with the contents of install-page preloaded, making script installation as easy as two mouse clicks.
- 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 above documentation is transcluded from Template:Infobox user script/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |