Lompat ke isi

Templat:Statistik Wikipedia/doc

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas

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

[sunting sumber]

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

[sunting sumber]

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

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
EnglishEnglishen6.908.26761.809.8721.251.680.82985348.240.007121.121929.2081278.9910.81%

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

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
Frenchfrançaisfr2.646.40913.272.213219.689.8191445.046.02517.39872.481266.864.14%

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

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
Simple EnglishSimple Englishsimple259.569850.7799.849.348161.521.3591.4783660.060.41%

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

Details of Wikipedia editions
LanguageLanguage (local)WikiArticlesTotal pagesEditsAdminsUsersActive usersFilesDepthPercentage
GermanDeutschde2.957.8918.143.651248.542.1171754.465.31017.226129.95193.814.63%

{{Statistik Wikipedia|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.31740.390220.643250——2.0E-5%

{{Statistik Wikipedia|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-tarask87.829255.7112.571.901587.8511052.16836.750.14%

AutosortTable

[sunting sumber]

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]])}}
}}