Template:Useronline/doc

This is a template for indicating your online status with a image on your userpage. See the top right of this page for an example. There are multiple ways to change your status:
 * Edit your userpage.
 * Click the icon.
 * Import the User:WikiGregory/scripts/useronline.js script

Usage
Place Useronline anywhere on your user page to produce the icon. This template & icon are based on topicon. See that template's page for a more intricate syntax definition.

Syntax


Clicking the Image
If you click the picture, you are automatically taken to the edit page so you may edit the |status= parameter.

Javascript Editor
There is a javascript import available which adds a link to edit your userpage underneath the "Donate to WikiQueer" link and to the left of the 'Your userpage' link at the top.

To add this, go to your common.js page and add the following: importScript('User:WikiGregory/scripts/useronline.js');

Clear your browser's cache, then a "Edit your online status" link will appear underneath the "Donate to WikiQueer" link and to the left of the 'Your userpage' link at the top. Note that this will, by default, only work if your template is on your userpage, not a subpage. If you want to change this, drop the template author a call: CJ