Template:Adminstats/doc

From Wikidata
Jump to navigation Jump to search

Usage[edit]

Administrators only; the bot will not process updates for non-admins.

Place the template on either your userpage, or, user subpage, in the form of {{Adminstats}}. The template will automatically show your stats when used anywhere within your userspace. To show your stats outside of your userspace, set the first parameter to your username.

Within 24 hours, the bot will create your stats page and update it every 24 hours.

Style[edit]

By default, the template uses the style given in Template:Adminstats/default. To specify an alternative, use the parameter style=template, e.g.

{{adminstats|style=User:USERNAME/Mystyle}}, or {{adminstats|USERNAME|style=User:USERNAME/Mystyle}} (for outside of your userspace)

If the style is a subtemplate of Template:Adminstats, then the style can be specified using the name of the subpage.

Raw styles[edit]

To use the values of a given field only, some raw style formats have been set up. For example, to give the number of edits, use the parameter style=raw XXX where XXX specifies the raw number you want.

Full list of raw styles:

  • raw blocked - gives number of users blocked
  • raw created - gives number of users created
  • raw deleted - gives number of pages deleted
  • raw ed+del - gives total number of edits and deleted edits
  • raw edit - gives number of edits (excluding deleted edits)
  • raw modified - gives number of page protection modifications
  • raw protected - gives number of pages protected
  • raw reblocked - gives number of users reblocked
  • raw restored - gives number of pages undeleted
  • raw rights - gives number of user right modifications
  • raw unprotected - gives number of pages unprotected

For example |style=raw blocked gives the number of users blocked.