Template:Wiktionary stats/doc
This is a documentation subpage for Template:Wiktionary stats. It may contain 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 Wiktionary. It is generally intended to provide data for Module:AutosortTable.
Usage
[edit]This template is used with 6 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, an unnumbered fifth 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 sixth parameter, called closed, can be added to let users know whether a certain Wiktionary language edition has been closed.
Examples
[edit]{{Wiktionary stats|en|English|link=English language}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Entries | Total pages | Edits | Admins | Users | Active users | Files | Percentage |
---|---|---|---|---|---|---|---|---|---|---|
English | English | en | 8,216,586 | 9,815,385 | 82,519,079 | 74 | 4,228,245 | 2,210 | 15 | 19.63% |
{{Wiktionary stats|fr|French}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Entries | Total pages | Edits | Admins | Users | Active users | Files | Percentage |
---|---|---|---|---|---|---|---|---|---|---|
French | français | fr | 6,478,702 | 7,138,216 | 36,304,274 | 32 | 379,161 | 489 | 6 | 15.48% |
{{Wiktionary stats|simple|Simple English|Basic English}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Entries | Total pages | Edits | Admins | Users | Active users | Files | Percentage |
---|---|---|---|---|---|---|---|---|---|---|
Simple English | Simple English | simple | 48,866 | 58,156 | 534,820 | 4 | 49,647 | 28 | 2 | 0.12% |
{{Wiktionary stats|de|German|link=Deutsche Sprache}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Entries | Total pages | Edits | Admins | Users | Active users | Files | Percentage |
---|---|---|---|---|---|---|---|---|---|---|
German | Deutsch | de | 1,142,489 | 1,325,778 | 10,133,745 | 13 | 242,285 | 183 | 93 | 2.73% |
{{Wiktionary stats|no|Norwegian|comment=([[Bokmål]])}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Entries | Total pages | Edits | Admins | Users | Active users | Files | Percentage |
---|---|---|---|---|---|---|---|---|---|---|
Norwegian (Bokmål) | norsk | no | 156,742 | 170,223 | 1,197,209 | 4 | 17,720 | 17 | 9 | 0.37% |
{{Wiktionary stats|yo|Yoruba|closed=yes}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Entries | Total pages | Edits | Admins | Users | Active users | Files | Percentage |
---|---|---|---|---|---|---|---|---|---|---|
Yoruba (closed) | Yorùbá | yo | 0 | 210 | 4,931 | 1 | 435 | 0 | 0 | 0% |
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=12, 1|numeric=12|descending=12, 5, 6, 7, 8, 9, 10, 11|hidden=12|caption=Details of Wiktionary editions|rowheader=1
|header = -- Language -- Language (local) -- Wiki -- Entries -- Total pages -- Edits -- Admins -- Users -- Active users -- Files -- Percentage
|colstyle = -- text-align:left; -- text-align:left; -- text-align:left; -- -- -- -- -- -- -- -- -- <!-- col 12 is hidden so align doesn't matter here -->
| {{Wiktionary stats|en|English|link=English language}}
| {{Wiktionary stats|fr|French}}
| {{Wiktionary stats|ja|Japanese}}
| {{Wiktionary stats|pt|Portuguese}}
| {{Wiktionary stats|simple|Simple English|Basic English}}
| {{Wiktionary stats|de|German|link=Deutsche Sprache}}
| {{Wiktionary stats|no|Norwegian|comment=([[Bokmål]])}}
| background-color: #d0d0d0; {{Wiktionary stats|yo|Yoruba|closed=yes}}
}}