Template:Wikipedia stats/doc

From English Wikipedia @ Freddythechick

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:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
EnglishEnglishen6,990,75363,079,1611,284,433,79684149,100,016117,298937,1691310.7610.77%

{{Wikipedia stats|fr|French}} used with the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
Frenchfrançaisfr2,682,21013,468,874224,976,4891435,172,48117,37574,888270.144.13%

{{Wikipedia stats|simple|Simple English|Basic English}} used with the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
Simple EnglishSimple Englishsimple268,292879,53310,216,120211,590,8331,5783660.290.41%

{{Wikipedia stats|de|German|link=Deutsche Sprache}} used with the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
GermanDeutschde3,012,8508,280,289254,033,3941724,571,40916,462130,56593.784.64%

{{Wikipedia stats|cr|Cree|depth=no}} used on the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
CreeNēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣcr132,32640,718221,547130——2.0E-5%

{{Wikipedia stats|be-tarask|Belarusian|comment=([[Taraškievica]])}} used with the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
Belarusian (Taraškievica)беларуская (тарашкевіца)be-tarask88,870260,0002,606,527590,245982,12837.170.14%

{{Wikipedia stats|ii|Nuosu|closed=yes|depth=no}} used with the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
Nuosu (closed)ꆇꉙii318711,65412,05530——0%

AutosortTable

Usage with AutosortTable should be formatted like this: <syntaxhighlight lang="wikitext" style="overflow:auto;">

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
EnglishEnglishen6,990,75363,079,1611,284,433,79684149,100,016117,298937,1691310.7610.77%
GermanDeutschde3,012,8508,280,289254,033,3941724,571,40916,462130,56593.784.64%
Frenchfrançaisfr2,682,21013,468,874224,976,4891435,172,48117,37574,888270.144.13%
Japanese日本語ja1,461,1654,288,925104,560,263402,311,35312,4915,17091.312.25%
Portugueseportuguêspt1,146,5645,895,45469,888,338523,223,2498,27364,961203.361.77%
Simple EnglishSimple Englishsimple268,292879,53310,216,120211,590,8331,5783660.290.41%
Belarusian (Taraškievica)беларуская (тарашкевіца)be-tarask88,870260,0002,606,527590,245982,12837.170.14%
CreeNēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣcr132,32640,718221,547130——2.0E-5%
Nuosu (closed)ꆇꉙii318711,65412,05530——0%

</syntaxhighlight>