Template:NUMBEROFGROUP/doc
Jump to navigation
Jump to search
| icon | This is a documentation subpage for Template:NUMBEROFGROUP. It may contain usage information, categories and other content that is not part of the original template page. |
Template used to show the variables NUMBEROFARTICLES, NUMBEROFPAGES, NUMBEROFEDITS, NUMBEROFUSERS, NUMBEROFACTIVEUSERS, NUMBEROFADMINS and NUMBEROFFILES in Wikipedias.
Usage
[edit source]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}} → Lua error in Module:NUMBEROF/data at line 5: attempt to index field 'data' (a nil value).
Also, the template includes the parameter "total", it shows the total of the given value: {{NUMBEROF|ADMINS|total|N}} → Lua error in Module:NUMBEROF/data at line 5: attempt to index field 'data' (a nil value).
The template is updated by a pywikipedia bot using this script.
| File:Wiki letter w.svg | This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |