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[edit]
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[edit]
{{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,817,443 | 60,540,130 | 1,216,260,578 | 861 | 47,315,358 | 123,717 | 916,347 | 7918.05 | 55.11 | 0.01 | 1247.54 | 10.84% |
{{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,607,906 | 13,034,538 | 214,136,722 | 146 | 4,912,064 | 17,159 | 71,634 | 17862.37 | 151.98 | 0.01 | 262.6 | 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 | 250,920 | 818,353 | 9,483,928 | 19 | 1,440,533 | 1,585 | 36 | 13206.32 | 158.31 | 0.01 | 59.27 | 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,904,556 | 8,005,537 | 242,834,921 | 174 | 4,357,436 | 17,868 | 129,192 | 16692.85 | 162.56 | 0.01 | 93.56 | 4.62% |
{{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 | 13 | 2,303 | 39,734 | 2 | 19,806 | 18 | 0 | 6.5 | 0.72 | 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 | 86,368 | 248,923 | 2,499,657 | 4 | 85,381 | 122 | 2,125 | 21592 | 707.93 | 0.03 | 35.57 | 0.14% |
AutosortTable[edit]
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]])}}
}}