Template:Wikipedia stats/doc
This is a documentation subpage for Template:Wikipedia stats. It contains 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 | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Expression error: Unexpected < operator. | Expression error: Unexpected < operator.% |
{{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 | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Expression error: Unexpected < operator. | Expression error: Unexpected < operator.% |
{{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 | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Expression error: Unexpected < operator. | Expression error: Unexpected < operator.% |
{{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 | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Expression error: Unexpected < operator. | Expression error: Unexpected < operator.% |
{{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 | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | —— | Expression error: Unexpected < operator.% |
{{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 | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Lua error in package.lua at line 80: module 'Module:NUMBEROF/data' not found. | Expression error: Unexpected < operator. | Expression error: Unexpected < operator.% |
AutosortTable
Usage with AutosortTable should be formatted like this: <syntaxhighlight lang="wikitext" style="overflow:auto;">
</syntaxhighlight>