Template:WP7
--[[: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]]---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.
Usage
This template is used with 2 or 3 parameters.
- First parameter (lang): es, en, de, fr, etc.
- Second parameter (language name in English): Spanish, English, German, French, etc.
- Third parameter, optional (wikilink): Punjabi language..., defaults to second parameter + " language", e.g. Spanish language
Example
{{WP7|de|German}}
used with the autosort table creates the following:
Language | Language (local) | Wiki | Articles | Total | Edits | Admins | Users | Active Users | Images | Depth |
---|---|---|---|---|---|---|---|---|---|---|
German | Deutsch | de | 3,010,092 | 8,273,434 | 253,750,031 | 172 | 4,565,803 | 17,053 | 130,522 | 93 |
AutosortTable
Usage with AutosortTable should be formatted like this:
{{#invoke: AutosortTable|create|
{{WP7|en|English}}
|{{WP7|de|German}}
|{{WP7|fr|French}}
|{{WP7|pnb|Western Punjabi|Punjabi language}}
}}