Template:Wikipedia stats
-- [[:en:{{{2}}} language|{{{2}}}]] -- [[:{{{1}}}:{{{1}}} |{{{1}}}]] -- [[:{{{1}}}:|{{{1}}}]]
-- [{{fullurl:{{{1}}}:Special:Statistics|action=raw}} -1] -- -1 -- [[:{{{1}}}:Special:Statistics|-1]] -- [[:{{{1}}}:Special:ListAdmins/sysop|-1]] -- [[:{{{1}}}:Special:ListUsers|-1]] -- [[:{{{1}}}:Special:ActiveUsers|-1]] -- [[:{{{1}}}:Special:ListFiles|-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,822,244 | 60,643,143 | 1,218,435,495 | 859 | 47,379,373 | 122,835 | 916,896 | 1250.46 | 10.84% | 6822244 |
{{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,610,784 | 13,051,939 | 214,507,331 | 146 | 4,921,387 | 17,032 | 71,681 | 262.86 | 4.15% | 2610784 |
{{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 | 251,420 | 820,832 | 9,512,073 | 19 | 1,446,787 | 1,548 | 36 | 59.44 | 0.4% | 251420 |
{{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,908,524 | 8,015,467 | 243,231,053 | 174 | 4,365,162 | 17,490 | 129,316 | 93.55 | 4.62% | 2908524 |
{{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,302 | 39,750 | 2 | 19,860 | 20 | 0 | —— | 0% | 12 |
{{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,536 | 249,649 | 2,503,925 | 4 | 85,558 | 114 | 2,128 | 35.63 | 0.14% | 86536 |
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]])}}
}}