This is the template sandbox page for Template:Energy meter (diff). |
This template uses Lua: |
Ever wanted to convey to the community how much energy you have left but didn't know how to show it. Why not use this battery to show your overall energy? When it's zero, it means you are retired or are retiring. It's also great for bots that run on toolserver. Simply input the account expiration date and the battery will automatically show how much energy is left. It's especially useful if the bot owner retires to see how much time is left before the bot dies for good.
Usage
editThis is a fun little template that fellow Wikipedians can use to display how much energy they have to contribute to Wikipedia. It is highly configurable to suit your needs.
Accepted Parameters (bolded parameters are default):
- Top Icon Mode:
istopicon
(true/false)(optional)width
(any number/25)(optional)sortkey
(any string)(optional)
- Standard Mode:
nothumb
(true/false)(optional)width
(any number/200)(optional)position
(left/center/right)(optional)
Required Parameters (italicized indicates set parameter for the respective mode):
- Bot Mode:
isbot
(true/false)(optional)expiry
(date in a format accepted by the #time parser function)
- User Mode:
isbot
(true/false)(optional)energyleft
(number from 0 - 100)
Universal Parameters:
ishorizontal
(true/false)(optional)</noinclude>