Ta̱mpi̱let:NUMBEROFFAMILY/doc
This is a documentation subpage for Ta̱mpi̱let:NUMBEROFFAMILY. It contains usage information, categories and other content that is not part of the original ta̱mpi̱let page. |
Template used to show the variables NUMBEROFARTICLES, NUMBEROFPAGES, NUMBEROFEDITS, NUMBEROFUSERS, NUMBEROFACTIVEUSERS, NUMBEROFADMINS and NUMBEROFFILES for language families of Wikipedias.
Family codes
jhyukThe language families' names are based on the ISO 639-5 standard unless a code is not defined, in which case the English name of the family is used instead.
How it works
jhyukThis template depends on its subpage (Template:NUMBEROFFAMILY/data), which serves as a wrapper around data from Template:NUMBEROFGROUP/data and Template:NUMBEROF/data, which in turn is automatically updated by Acebot daily, shortly after midnight (GMT).
Usage
jhyukIt is used by 3 parameters, the third one is optional .
- First parameter (variable): ARTICLES, PAGES, EDITS, USERS, ACTIVEUSERS, ADMINS or FILES.
- Second parameter (language family): ine, map, tut, sit, nic, ccn...
- 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 sum of the number of articles of Wikipedias in Indo-European languages in raw format:
{{NUMBEROFFAMILY|ARTICLES|ine}}
→ 38646661
The template is updated by a pywikipedia bot using this script.
See also
jhyuk- {{NUMBEROF}} same as above, but with individual Wikipedias rather than language families.
- {{NUMBEROFGROUP}} same as above, but with groups of related languages within a language family (Germanic, Slavic, Bornean, Semetic, Turkic, etc.)