Template:Statustop/doc
{{Documentation subpage}}
= Usage =
- This template can be used to display a status indicator along the top of your user page and/or user talk page.
- It accepts six statuses that should be placed in Special:MyPage/Status or an unnamed parameter: online, busy, away, around, offline, sleep
It is compatible with the Qui status system developed by TheDJYou can also import (or copy) User:Xenocidic/statusChanger2.js(or just manually update your status)- Will only work in the user/user talk namespaces.
;By default, the output will be as follows:
- Status: Online File:Ledgreen.svg – online
- Status: Busy File:Ledorange.svg – busy
- Status: Away File:Ledorange.svg – away
- Status: Around File:Ledblue.svg – around
- Status: Offline File:Nuvola apps krec.svg – offline
- Status: Sleeping File:Nuvola apps krec.svg – sleep (if
|sleep=
is not defined) - Status: Custom File:Ledblue.svg – sleep. (if
|sleep=Custom
is defined where Custom is any text) - Status: Unknown File:Ledgray.svg – if your status is not being reported correctly or your status page is empty
;An optional unnamed parameter like
may be used to give the status directly instead of in Special:MyPage/Status
;Can also accept named parameters
- link: can be used to link the text to a page which explains the status terms (e.g. User talk:Xenocidic/Status)
- img_link: can be used to link the status image (e.g. User talk:Xenocidic/Status)
- offset: can be used to offset the status display further to the left
- offsettop: can be used to offset further down
- sleep: redefine the "sleep" parameter to anything you like (the text and icon will be blue)
- blink: will prevent flashing in "offline" and "sleep" status when set to any value (such as "no")
nocat: to remove a user from the category when they are online (see below)
;Example usage:
{{Statustop|offset=30}} - :– the offset parameter is in px units
{{Statustop|link=User talk:Xenocidic/Status|offset=500}} - :– the default is to leave the text and image unlinked
{{Statustop|link=User talk:Xenocidic/Status|img_link=Template:Statustop|offset=10}} - :– the img_link parameter accepts both wikipages and external URLs
{{Statustop|User:SomeOtherUser/Status}} - :– could be used on a bot page to display the bot-op's status.
- for setting the custom parameter{{Statustop|sleep=IRC}}
= See also =
- {{tl|UserStatus}}
- {{tl|StatusTemplate}}, based off Hersfold's Status Template, which is no longer updated. Most statuses used in StatusTemplate are compatible with this template.
Category:User namespace templates
}}