Template:Wiktionary stats
-- [[:en:{{{2}}} language|{{{2}}}]] -- [[:{{{1}}}:{{{1}}} |{{{1}}}]] -- [[:wikt:{{{1}}}:|{{{1}}}]]
-- [[:wikt:{{{1}}}:Special:Statistics|-1]] -- -1 -- [[:wikt:{{{1}}}:Special:Statistics|-1]] -- [[:wikt:{{{1}}}:Special:ListUsers/sysop|-1]] -- [[:wikt:{{{1}}}:Special:ListUsers|-1]] -- [[:wikt:{{{1}}}:Special:ActiveUsers|-1]] -- [[:wikt:{{{1}}}:Special:ListFiles|-1]] -- -0% -- -1
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
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
{{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,407,070 | 10,111,334 | 84,659,979 | 76 | 4,273,466 | 2,451 | 16 | 19.08% |
{{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,584,740 | 7,379,602 | 38,148,960 | 33 | 387,675 | 473 | 6 | 14.95% |
{{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 | 51,414 | 60,845 | 546,306 | 4 | 50,834 | 43 | 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,170,841 | 1,356,831 | 10,261,498 | 12 | 246,676 | 168 | 92 | 2.66% |
{{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,933 | 170,436 | 1,200,627 | 4 | 18,049 | 13 | 7 | 0.36% |
{{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 | 211 | 4,932 | 1 | 441 | 0 | 0 | 0% |
AutosortTable
Usage with AutosortTable should be formatted like this: <syntaxhighlight lang="wikitext" style="overflow:auto;">
Language | Language (local) | Wiki | Entries | Total pages | Edits | Admins | Users | Active users | Files | Percentage |
---|---|---|---|---|---|---|---|---|---|---|
English | English | en | 8,407,070 | 10,111,334 | 84,659,979 | 76 | 4,273,466 | 2,451 | 16 | 19.08% |
French | français | fr | 6,584,740 | 7,379,602 | 38,148,960 | 33 | 387,675 | 473 | 6 | 14.95% |
German | Deutsch | de | 1,170,841 | 1,356,831 | 10,261,498 | 12 | 246,676 | 168 | 92 | 2.66% |
Portuguese | português | pt | 497,699 | 630,681 | 3,208,944 | 7 | 97,827 | 56 | 0 | 1.13% |
Japanese | 日本語 | ja | 431,656 | 496,511 | 2,088,958 | 4 | 119,978 | 88 | 29 | 0.98% |
Norwegian (Bokmål) | norsk | no | 156,933 | 170,436 | 1,200,627 | 4 | 18,049 | 13 | 7 | 0.36% |
Simple English | Simple English | simple | 51,414 | 60,845 | 546,306 | 4 | 50,834 | 43 | 2 | 0.12% |
Yoruba (closed) | Yorùbá | yo | 0 | 211 | 4,932 | 1 | 441 | 0 | 0 | 0% |
</syntaxhighlight>