Diese Seite ist die Dokumentations-Unterseite der Vorlage:Statustop2. |
Description[]
- Vorlage:Statustop2/Doku 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 entered in Special:MyPage/Status: online, busy, around, offline, and sleep
- It is compatible with the Qui status system developed by TheDJ
- Will only work in the user/user talk namespaces.
Usage[]
- By default, the output will be as follows
- Status: Online - online
- Status: Busy - busy
- Status: Away - away
- Status: Around - around
- Status: Custom - custom. (if sleep= is defined)
- Status: Offline Datei:Nuvola apps krec.svg – offline
- Status: Sleeping Datei:Nuvola apps krec.svg – sleep
- Status: Unknown – if your status is not being reported correctly or your status page is empty
Parameters[]
The first parameter is optional and may be used to point to a status page other than Special:MyPage/Status. Can also accept the following named parameters:
|link=
- can be used to link the text to a page which explains the status terms (e.g., User:SpikeToronto/Status legend)
|img_link=
- can be used to link the status image (e.g., User:SpikeToronto/Status legend)
|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
Examples[]
- {{Statustop2|<offset=30>}}
- — the offset parameter is in px units
- {{Statustop2|<link=User:SpikeToronto/Status legend>|<offset=500>}}
- — the default is to leave the text and image unlinked
- {{Statustop2|<link=User:SpikeToronto/Status legend>|<img_link=Template:Statustop2>|<offset=10>}}
- — the img_link parameter accepts both wikipages and external URLs
- {{Statustop2|<User:SomeOtherUser/Status>}}
- — could be used on a bot page to display the bot-op's status.
- {{Statustop2|<sleep=IRC>}}
- — for setting the custom parameter
See also[]
- [[wikipedia:Template:UserStatus|Vorlage:Tlc]]
- [[wikipedia:Template:StatusTemplate|Vorlage:Tlc]], based off Hersfold's Status Template, which is no longer updated. Most statuses used in StatusTemplate are compatible with this template.
Vorlage:Pp-move Vorlage:Pp-move-indef Vorlage:Pp-template