Template:WP7
Template:Wikipedia stats
-- [[:en:{{{2}}} language|{{{2}}}]] -- [[:{{{1}}}:{{{1}}} |{{{1}}}]] -- [[:{{{1}}}:|{{{1}}}]]
-- [[:{{{1}}}:Special:Statistics|-1]] -- -1 -- [[:{{{1}}}:Special:Statistics|-1]] -- [[:{{{1}}}:Special:ListUsers/sysop|-1]] -- [[:{{{1}}}:Special:ListUsers|-1]] -- [[:{{{1}}}:Special:ActiveUsers|-1]] -- [[:{{{1}}}:Special:ListFiles|-1]] -- 1 -- 1 -- 1 -- 0 -- -0% -- -1
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 | Articles/Admins | Articles/Active users | Admins/Active users | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
English | English | en | 6,799,697 | 60,250,211 | 1,209,881,038 | 864 | 47,121,590 | 125,196 | 914,694 | 7870.02 | 54.31 | 0.01 | 1240.82 | 10.85% |
{{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 | Articles/Admins | Articles/Active users | Admins/Active users | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
French | français | fr | 2,599,507 | 12,992,949 | 213,030,806 | 146 | 4,884,696 | 18,118 | 71,290 | 17804.84 | 143.48 | 0.01 | 262.1 | 4.15% |
{{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 | Articles/Admins | Articles/Active users | Admins/Active users | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Simple English | Simple English | simple | 249,127 | 810,613 | 9,400,922 | 18 | 1,422,391 | 1,631 | 36 | 13840.39 | 152.74 | 0.01 | 58.91 | 0.4% |
{{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 | Articles/Admins | Articles/Active users | Admins/Active users | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
German | Deutsch | de | 2,892,948 | 7,975,442 | 241,688,839 | 174 | 4,334,777 | 18,277 | 129,081 | 16626.14 | 158.28 | 0.01 | 93.54 | 4.61% |
{{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 | Articles/Admins | Articles/Active users | Admins/Active users | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Cree | Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ | cr | 12 | 2,301 | 39,640 | 2 | 19,610 | 19 | 0 | 6 | 0.63 | 0.11 | —— | 0% |
{{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 | Articles/Admins | Articles/Active users | Admins/Active users | Depth | Percentage |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Belarusian (Taraškievica) | беларуская (тарашкевіца) | be-tarask | 85,960 | 247,258 | 2,488,297 | 4 | 84,863 | 121 | 2,114 | 21490 | 710.41 | 0.03 | 35.43 | 0.14% |
AutosortTable
Usage with AutosortTable should be formatted like this:
{{#invoke: AutosortTable| create | class = wikitable plainrowheaders sortable static-row-numbers static-row-header-hash | style = text-align:right; | separator = -- | order = 16, 1 | numeric = 16 | descending = 16, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | hidden = 16 | caption = Details of Wikipedia editions | rowheader = 1
|header = -- Language -- Language (local) -- Wiki -- Articles -- Total pages -- Edits -- Admins -- Users -- Active users -- Files -- Articles/Admins -- Articles/Active users -- Admins/Active users -- Depth -- Percentage
|colstyle = -- text-align:left; -- text-align:left; -- text-align:left; -- -- -- -- -- -- -- -- -- -- -- -- -- <!-- col 16 is hidden so align doesn't matter here -->
| {{Wikipedia stats|en|English|link=English language}}
| {{Wikipedia stats|fr|French}}
| {{Wikipedia stats|ja|Japanese}}
| {{Wikipedia stats|pt|Portuguese}}
| {{Wikipedia stats|simple|Simple English|Basic English}}
| {{Wikipedia stats|de|German|link=Deutsche Sprache}}
| {{Wikipedia stats|cr|Cree|depth=no}}
| {{Wikipedia stats|be-tarask|Belarusian|comment=([[Taraškievica]])}}
}}
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.