Template:Infobox Wikipedia user script/doc
Appearance
![]() | This is a documentation subpage for Template:Infobox Wikipedia user script. It may contain usage information, categories and other content that is not part of the original template page. |
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 | logo = logo image address | screenshot = screenshot image address | screenshot-caption = caption for screenshot | mainsource = main source file to install | install-target = page to install to }}
- name: The name of the script. Defaults to page name.
- author: The script author's user name
- updated: The date of last update. Use {{start date and age}} to automatically display time since the last update.
- status: Script's development status. You may describe this any way you like, such as alpha/beta/release, or stable/experimental/inactive.
- source: The source code page.
- skins: Supported skins.
- browsers: Supported web browser(s).
- logo: Image file address for logo
- screenshot: Image file address for screenshot
- screenshot-caption: Text caption for screenshot
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.
install-page: The "install-page" parameter is obsolete and ignored. Recent versions of MediaWiki made the preloading hack used by this template non-functional.
Example
![]() | |
![]() MyScript in action | |
Author(s) | Username |
---|---|
Status | Stable |
Updated | March 3, 2013 |
Browsers | Firefox, Chrome |
Skins | Vector |
Source | User:Username/Example.js |
{{infobox user script | name = MyScript | author = [[User:Username|Username]] | updated = {{start date and age|2013|03|03}} | status = Stable | source = [[User:Username/Example.js]] | skins = Vector | browsers = [[Firefox]], [[Google Chrome|Chrome]] | logo = [[File:Wikimedia-logo.svg|50px]] | screenshot = [[File:Floater script screenshot.png|300px]] | screenshot-caption = MyScript in action }}
See also
End of my android seriaL #ZY32CWZ8VP