This is the sandbox page for User:FenrisAureus/SimpleStatus (diff). |
Installation
editSimpleStatus is part script, part template.
The Template
edit- Create a subpage in your userspace called
Status
such 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
editPaste 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
edit{{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 On a Wikibreak |
status = sleep
|
|
status = in class
|
|
status = exams
|
|
status = sick
|
|
status = gaming
|
|
status = work
|
|
status = military
|
|
status = unavailable
|