User:FenrisAureus/SimpleStatus
From Wikipedia, the free encyclopedia
Installation
SimpleStatus is part script, part template.
The Template
- Create a subpage in your userspace called
Statussuch as:User:Example/Status. - Paste
{{subst:User:FenrisAureus/SimpleStatus/Install}}into that page. - Transclude that page to display your status wherever you wish by placing
{{User:{{subst:ROOTPAGENAME}}/Status}}onto the page.
The Script
Paste importScript('User:FenrisAureus/SimpleStatus.js'); // Backlink: User:FenrisAureus/SimpleStatus.js into your common.js.
This will add a link called "Status" at the top of your page next to "Preferences". When clicked, it will open your /Status subpage, already in edit mode.
Usage
{{User:FenrisAureus/SimpleStatus
|status = Online
|note = Hello World!
}}
status |
result |
|---|---|
status = online |
|
status = around |
|
status = busy |
|
status = offline |
|
status = holiday |
|
status = wikibreak
note = 12 December
|
FenrisAureus is currently
|
status = sleep |
|
status = in class |
|
status = exams |
|
status = sick |
|
status = gaming |
|
status = work |
|
status = military |
|
status = unavailable |