Template:NUMBEROF
Jump to navigation
Jump to search
0
Template used to show the variables NUMBEROFARTICLES, NUMBEROFPAGES, NUMBEROFEDITS, NUMBEROFUSERS, NUMBEROFACTIVEUSERS, NUMBEROFADMINS and NUMBEROFFILES of other Wikipedias.
Usage
It is used by 3 parameters, the third one is optional .
- First parameter (variable): ARTICLES, PAGES, EDITS, USERS, ACTIVEUSERS, ADMINS or FILES.
- Second parameter (lang): es, en, de, fr...
- Third parameter (format): using N, it prints the number grouped in three numbers, without it it is shown in raw format, it permits to make mathematical operations with parserFunctions.
Example, to show the number of articles of the French Wikipedia in format raw:
{{NUMBEROF|ARTICLES|fr}}
→ 1439420
Also, the template includes the parameter "total", it shows the total of the given value: {{NUMBEROF|ADMINS|total|N}}
→ 4,434
The template is updated by a pywikipedia bot using this script.
The above documentation is transcluded from Template:NUMBEROF/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |