Templat:Statistik Wikipedia
--[[:id:Bahasa {{{2}}}|{{{2}}}]]---1--[[:{{{1}}}:{{{1}}}|{{{1}}}]]--[[:{{{1}}}:|{{{1}}}]]--[{{fullurl:{{{1}}}:Special:Statistics|action=raw}} -1]---1--[[:{{{1}}}:Special:Statistics|-1]]--[[:{{{1}}}:Special:Listadmins|-1]]--[[:{{{1}}}:Special:Listusers|-1]]--[[:{{{1}}}:Special:ActiveUsers|-1]]--[[:{{{1}}}:Special:Imagelist|-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.
Penggunaan
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
{{Statistik Wikipedia|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 | 6923289 | English | en | 6.923.289 | 62.016.598 | 1.257.930.233 | 846 | 48.401.337 | 122.379 | 930.843 | 1284.46 |
{{Statistik Wikipedia|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 | 2652458 | français | fr | 2.652.458 | 13.312.594 | 220.612.881 | 145 | 5.068.012 | 17.728 | 72.657 | 267.67 |
{{Statistik Wikipedia|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 | 261393 | Simple English | simple | 261.393 | 856.081 | 9.916.714 | 16 | 1.533.434 | 1.588 | 36 | 59.96 |
{{Statistik Wikipedia|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 | 2967514 | Deutsch | de | 2.967.514 | 8.167.435 | 249.537.741 | 174 | 4.483.558 | 17.426 | 129.739 | 93.81 |
{{Statistik Wikipedia|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 | 13 | Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ | cr | 13 | 2.322 | 40.460 | 2 | 20.776 | 25 | 0 | 549698.84 |
{{Statistik Wikipedia|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 | 88062 | беларуская (тарашкевіца) | be-tarask | 88.062 | 256.711 | 2.581.654 | 5 | 88.222 | 106 | 2.192 | 36.88 |
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=13, 1|numeric=13|descending=13, 5, 6, 7, 8, 9, 10, 11, 12|hidden=13|caption=Details of Wikipedia editions|rowheader=1
|header = -- Language -- Language (local) -- Wiki -- Articles -- Total pages -- Edits -- Admins -- Users -- Active users -- Files -- Depth -- Percentage
|colstyle = -- text-align:left; -- text-align:left; -- text-align:left; -- -- -- -- -- -- -- -- -- -- <!-- col 13 is hidden so align doesn't matter here -->
| {{Statistik Wikipedia|en|English|link=English language}}
| {{Statistik Wikipedia|fr|French}}
| {{Statistik Wikipedia|ja|Japanese}}
| {{Statistik Wikipedia|pt|Portuguese}}
| {{Statistik Wikipedia|simple|Simple English|Basic English}}
| {{Statistik Wikipedia|de|German|link=Deutsche Sprache}}
| {{Statistik Wikipedia|cr|Cree|depth=no}}
| {{Statistik Wikipedia|be-tarask|Belarusian|comment=([[Taraškievica]])}}
}}