跳到导航 跳到搜索
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]


  • This template can be used to display a status indicator along the top of your user page and/or user talk page.
  • It accepts five parameters that should be placed in Special:MyPage/Status: online, busy, around, offline, sleep
  • It is compatible with the Qui status system developed by TheDJ
  • You 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
  • 用戶狀態:在線 Ledgreen.svg - online
  • 用戶狀態:忙碌 Ledorange.svg - busy
  • 用戶狀態:離線 Nuvola apps krec.svg – offline
  • 用戶狀態:睡覺 Nuvola apps krec.svg – sleep
  • 用戶狀態:不詳 Ledgray.svg – if your status is not being reported correctly or your status page is empty
  • 用戶狀態:Custom Ledblue.svg - custom. (if sleep= is defined)
  • 用戶狀態:Around Ledblue.svg - around

The first parameter is optional and may be used to point to a status page other than 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
  • 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.
  • {{Statustop|sleep=IRC}} - for setting the custom parameter

See also[编辑]