Difference between revisions of "Template:Adminstats/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>XXBlackburnXx
(revert)
Line 5: Line 5:
 
== Usage ==
 
== Usage ==
  
T
+
This template is for admins and account creators only; the bot will not process updates for non-admins.
 +
 
 +
Place the template on either your userpage or user subpage, like so:
 +
 
 +
{{tlx|adminstats|USERNAME}}
 +
 
 +
Within 24 hours, the bot will create your stats page and update it every 24 hours.
 +
 
 +
Maintained by [[User:Cyberbot I]], formerly maintained by [[User:TPBot]], [[User:SQLBot]], and [[User:SoxBot]].
 +
 
 +
== Style ==
 +
 
 +
By default, the template uses the style given in [[Template:Adminstats/default]]. To specify an alternative, use the parameter <code>style=<i>template</i></code>, e.g.
 +
 
 +
{{tlx|adminstats|USERNAME|3=style=User:USERNAME/Mystyle}}
 +
 
 +
If the style is a subtemplate of [[Template:Adminstats]], then the style can be specified using the name of the subpage.
 +
 
 +
A bar graph is available with <code>style=bars</code>.
 +
 
 +
===Raw styles===
 +
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 <code>style=raw XXX</code> 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 revdel - gives number of deleted revisions
 +
*raw eventdel - gives number of deleted events such as logs
 +
*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 imported - gives number of transwikied and XMLs user has imported.
 +
*raw reblocked - gives number of users reblocked
 +
*raw unblocked - gives number of users unblocked
 +
*raw restored - gives number of pages undeleted
 +
*raw rights - gives number of user right modifications
 +
*raw unprotected - gives number of pages unprotected
 +
*raw filter - gives number of abuse filter modifications
 +
*raw merge - gives number of merged pages
 +
*raw massmessage - gives number of sent mass messages
 +
*raw renamed - gives the number of users renamed
 +
 
 +
For example, {{para|style|raw blocked}} gives the number of users blocked.
 +
 
 +
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 +
| <!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Wikipedia administration templates]]
 +
[[Category:Wikipedia administrator statistics|τ]]
 +
 
 +
[[ur:سانچہ:انتظامی شماریات]]
 +
}}</includeonly>

Revision as of 23:42, 17 October 2018

Usage

This template is for admins and account creators only; the bot will not process updates for non-admins.

Place the template on either your userpage or user subpage, like so:

{{adminstats|USERNAME}}

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

Maintained by User:Cyberbot I, formerly maintained by User:TPBot, User:SQLBot, and User:SoxBot.

Style

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

{{adminstats|USERNAME|style=User:USERNAME/Mystyle}}

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

A bar graph is available with style=bars.

Raw styles

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 revdel - gives number of deleted revisions
  • raw eventdel - gives number of deleted events such as logs
  • 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 imported - gives number of transwikied and XMLs user has imported.
  • raw reblocked - gives number of users reblocked
  • raw unblocked - gives number of users unblocked
  • raw restored - gives number of pages undeleted
  • raw rights - gives number of user right modifications
  • raw unprotected - gives number of pages unprotected
  • raw filter - gives number of abuse filter modifications
  • raw merge - gives number of merged pages
  • raw massmessage - gives number of sent mass messages
  • raw renamed - gives the number of users renamed

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