Template:Wikipedia stats/doc
![]() | This is a documentation subpage for Template:Wikipedia stats. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to automatically generate a table row of statistics for one of the various language editions of Wikipedia. It is generally intended to provide data for Module:AutosortTable.
Usage
This template is used with 7 parameters, of which only the first two are required, as noted below:
- First parameter (language code); required: es, en, de, fr, etc.
- Second parameter (language name in English); required: Spanish, English, German, French, etc.
- Third parameter (wikilink); optional: Basic English, Standard Tibetan, etc. This parameter fixes links that link to disambiguation pages as a result of there being more than one language sharing the name.
- Fourth parameter (proper article title in local language); optional: Idioma español, English language, Deutsche Sprache, Français, etc. This parameter fixes links that link to disambiguation pages or non-existent pages on the local language wiki.
- Additionally, a fifth parameter, called depth, can be inserted to not display the depth, as this data has little validity for wikis with less than 500 articles.
- Additionally, an unnumbered sixth parameter, called comment, can be added to show an extra comment, like which language's dialect or linguistic variant is used on that wiki.
- Additionally, an unnumbered seventh parameter, called closed, can be added to let users know whether a certain Wikipedia language edition has been closed.
Examples
{{Wikipedia stats|en|English|link=English language}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
English | English | en | 6,990,753 | 63,079,161 | 1,284,433,796 | 841 | 49,100,016 | 117,298 | 937,169 | 1310.76 | 10.77% |
{{Wikipedia stats|fr|French}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
French | français | fr | 2,682,210 | 13,468,874 | 224,976,489 | 143 | 5,172,481 | 17,375 | 74,888 | 270.14 | 4.13% |
{{Wikipedia stats|simple|Simple English|Basic English}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
Simple English | Simple English | simple | 268,292 | 879,533 | 10,216,120 | 21 | 1,590,833 | 1,578 | 36 | 60.29 | 0.41% |
{{Wikipedia stats|de|German|link=Deutsche Sprache}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
German | Deutsch | de | 3,012,850 | 8,280,289 | 254,033,394 | 172 | 4,571,409 | 16,462 | 130,565 | 93.78 | 4.64% |
{{Wikipedia stats|cr|Cree|depth=no}}
used on the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
Cree | Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ | cr | 13 | 2,326 | 40,718 | 2 | 21,547 | 13 | 0 | —— | 2.0E-5% |
{{Wikipedia stats|be-tarask|Belarusian|comment=([[Taraškievica]])}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
Belarusian (Taraškievica) | беларуская (тарашкевіца) | be-tarask | 88,870 | 260,000 | 2,606,527 | 5 | 90,245 | 98 | 2,128 | 37.17 | 0.14% |
{{Wikipedia stats|ii|Nuosu|closed=yes|depth=no}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
Nuosu (closed) | ꆇꉙ | ii | 3 | 187 | 11,654 | 1 | 2,055 | 3 | 0 | —— | 0% |
AutosortTable
Usage with AutosortTable should be formatted like this: <syntaxhighlight lang="wikitext" style="overflow:auto;">
Language | Language (local) | Wiki | Articles | Total pages | Edits | Admins | Users | Active users | Files | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|
English | English | en | 6,990,753 | 63,079,161 | 1,284,433,796 | 841 | 49,100,016 | 117,298 | 937,169 | 1310.76 | 10.77% |
German | Deutsch | de | 3,012,850 | 8,280,289 | 254,033,394 | 172 | 4,571,409 | 16,462 | 130,565 | 93.78 | 4.64% |
French | français | fr | 2,682,210 | 13,468,874 | 224,976,489 | 143 | 5,172,481 | 17,375 | 74,888 | 270.14 | 4.13% |
Japanese | 日本語 | ja | 1,461,165 | 4,288,925 | 104,560,263 | 40 | 2,311,353 | 12,491 | 5,170 | 91.31 | 2.25% |
Portuguese | português | pt | 1,146,564 | 5,895,454 | 69,888,338 | 52 | 3,223,249 | 8,273 | 64,961 | 203.36 | 1.77% |
Simple English | Simple English | simple | 268,292 | 879,533 | 10,216,120 | 21 | 1,590,833 | 1,578 | 36 | 60.29 | 0.41% |
Belarusian (Taraškievica) | беларуская (тарашкевіца) | be-tarask | 88,870 | 260,000 | 2,606,527 | 5 | 90,245 | 98 | 2,128 | 37.17 | 0.14% |
Cree | Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ | cr | 13 | 2,326 | 40,718 | 2 | 21,547 | 13 | 0 | —— | 2.0E-5% |
Nuosu (closed) | ꆇꉙ | ii | 3 | 187 | 11,654 | 1 | 2,055 | 3 | 0 | —— | 0% |
</syntaxhighlight>