Template:NUMBEROFFAMILY/doc
This is a documentation subpage for Template:NUMBEROFFAMILY. It contains 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 for language families of Wikipedias.
Family codes
editThe 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
editThis template depends on its subpage (Template:NUMBEROFFAMILY/data), which serves as a summation wrapper around Template:NUMBEROFGROUP and Template:NUMBEROF, themselves taking tabular data (from c:Data:Wikipedia statistics/data.tab in JSON format on Wikimedia Commons) which are updated every 6 hours by GreenC bot)
Usage
editIt 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}}
→ 39015581
See also
edit- {{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.)