Template:WP7a/doc

From MOASSpedia
Jump to navigation Jump to search

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. This template is the same as template {{WP7}}, except this variant does not show the depth, which is important for languages with fewer than 500 articles.

Usage

This template is used with 2 parameters.

  • First parameter (lang): es, en, de, fr, etc.
  • Second parameter (language name in English): Spanish, English, German, French, etc.

Example

{{WP7a|cr|Cree}} used on the autosort table creates the following:

LanguageLanguage (local)WikiArticlesTotalEditsAdminsUsersActive UsersImagesDepth
CreeNēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣcr1602,18738,545218,637100——

AutosortTable

Usage with AutosortTable should be formatted like this:

{{#invoke: AutosortTable|create|class = wikitable sortable|style= text-align:right;
|separator = --|order = 2|numeric = 2|descending = 2, 5, 6, 7, 8, 9, 10, 11, 12|hidden = 2
|header = --Language--Language (local)--Wiki--Articles--Total--Edits--Admins--Users--Active Users--Images--Depth
|{{WP7|en|English}}
|{{WP7|de|German}}
|{{WP7|fr|French}}
|{{WP7a|cr|Cree}}
}}

Related Templates