Template:Statustop

From Wikinews, the free news source you can write!
Jump to navigation Jump to search
[edit] Template documentation

Usage[edit]

By default, the output will be as follows
  • Status: Online - online
  • Status: Busy - busy
  • Status: Around - around
  • Status: Custom - custom. (if sleep= is defined)
  • Status: Offline - offline
  • Status: Sleeping - sleep (default)
  • Status: Unknown - if your status is not being reported correctly


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
  • img_link: can be used to link the status image
  • 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
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[edit]