User:Cuckooman4/statustab.js/doc

Source: Wikipedia, the free encyclopedia.

Adds an "edit status" tab.

Use it with a status template on your userpage.

Usage

Click the "edit status" tab to go edit your status page. A prompt will appear, asking what your status is.

Put in whatever you put for your status when you normally change it. For example, my status page is {{User:Cuckooman4/StatusTemplate|s=on}} when I'm online, so I put in "s=on" or "s=off".

Installation

Edit your monobook.js and put in this code:

importScript("User:Cuckooman4/statustab.js");

Settings

By default, it assumes you use {{User:-your username here-/Status}} with {{User:-your username here-/StatusTemplate|-status here-}}.

To see what I mean, see the source of my userpage and status page.

Status page name

To change the name of the status page, use:

statuspageurl = "-status page here-"

Note: I haven't tried this, seeing as how I set the defaults to my settings, so I don't need to do this.

Status template name

To change the name of the status template page, use:

statustemplateurl = "-status template here-"

Status syntax

To change the status syntax, use:

statussyntax = "-status template syntax here-"

Use %STATUSPARAMS% to put in the input of the prompt. (the thing that asks for your status)


Compatibility

Browser Compatible?
IE 6 Yes
FF 2
No

I haven't tested any other browsers, and no one else is using this, so I don't know if it works in any other browsers.