Jump to content
Wikipedia The Free Encyclopedia

Template:Wikipedia stats

From Wikipedia, the free encyclopedia
(Redirected from Template:WP7)

-- [[:en:{{{2}}} language|{{{2}}}]] -- [[:{{{1}}}:{{{1}}} |{{{1}}}]] -- [[:{{{1}}}:|{{{1}}}]] -- [[:{{{1}}}:Special:Statistics|-1]] -- [[:{{{1}}}:Special:Statistics|-1]] -- [[:{{{1}}}:Special:Statistics|-1]] -- [[:{{{1}}}:Special:ListUsers/sysop|-1]] -- [[:{{{1}}}:Special:ListUsers|-1]] -- [[:{{{1}}}:Special:ActiveUsers|-1]] -- [[:{{{1}}}:Special:ListFiles|-1]] -- 0 -- -0% -- -1

Template documentation[view] [edit] [history] [purge]

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

[edit ]

This template is used with 7 parameters, of which only the first two are required, as noted below:

  • First parameter (language code); required: en, es, de, fr, etc.
  • Second parameter (language name in English); required: 'English', 'Spanish', 'German', 'French', etc.
  • Third parameter (proper article title in English); 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: English language, Idioma español, Deutsche Sprache, Français, etc. This parameter fixes links that link to disambiguation pages or non-existent pages on the local language wiki.
  • Fifth parameter (comment); optional: This parameter shows an extra comment, like which language's dialect or linguistic variant is used on that wiki.
  • Sixth parameter (closed); optional: This parameter lets users know whether a certain Wikipedia language edition has been closed.
  • Seventh parameter (depth); optional: This parameter hides the depth, as this data has little validity for wikis with less than 500 articles. It is currently deprecated for active Wikipedia editions.

Examples

[edit ]

{{Wikipedia stats|en|English|link=English language}} used with the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
English English en 7,193,961 65,759,140 1,354,110,747 814 53,227,907 274,643 969,658 1364.7110.64%

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

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
French français fr 2,763,448 14,002,165 236,487,653 143 5,865,340 38,458 78,856 279.354.09%

{{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 English Simple English simple 281,965 940,485 10,859,351 23 1,795,850 3,632 36 62.980.42%

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

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
German Deutsch de 3,128,486 8,560,732 265,596,945 162 5,191,612 36,449 129,690 93.544.63%

{{Wikipedia stats|be-tarask|Belarusian|comment=([[Taraškievica]])|link=Беларуская мова}} used with the autosort table creates the following:

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
Belarusian (Taraškievica)беларуская (тарашкевіца) be-tarask 90,993 266,241 2,666,158 4 97,573 239 2,254 37.150.13%

{{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)ꆇꉙ ii 3 188 11,657 1 2,159 1 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=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 -->
| {{Wikipedia stats|en|English|link=English language}}
| {{Wikipedia stats|fr|French}}
| {{Wikipedia stats|ja|Japanese}}
| {{Wikipedia stats|pt|Portuguese|link=Língua portuguesa}}
| {{Wikipedia stats|simple|Simple English|Basic English|link=Basic English}}
| {{Wikipedia stats|de|German|link=Deutsche Sprache}}
| {{Wikipedia stats|be-tarask|Belarusian|comment=([[Taraškievica]])|link=Беларуская мова}}
| background-color: #d0d0d0; {{Wikipedia stats|ii|Nuosu|closed=yes|depth=no}}<!-- there's no article on this Wikipedia about its language -->
}}
The above documentation is transcluded from Template:Wikipedia stats/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /