Template:WP7a
--[[:en:{{{2}}} language|{{{2}}}]]---1--[[:{{{1}}}:{{{1}}}|{{{1}}}]]--[[:{{{1}}}:|{{{1}}}]]--[{{fullurl:{{{1}}}:Special:Statistics|action=raw}} -1]---1--[[:{{{1}}}:Special:Statistics|-1]]--[[:{{{1}}}:Special:Listadmins|-1]]--[[:{{{1}}}:Special:Listusers|-1]]--[[:{{{1}}}:Special:ActiveUsers|-1]]--[[:{{{1}}}:Special:Imagelist|-1]]--——
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:
Language | Language (local) | Wiki | Articles | Total | Edits | Admins | Users | Active Users | Images | Depth |
---|---|---|---|---|---|---|---|---|---|---|
Cree | Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ | cr | 13 | 2,304 | 40,350 | 2 | 20,619 | 24 | 0 | —— |
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}}
}}