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 | 2,844,349 | 7,847,424 | 236,674,982 | 177 | 4,240,596 | 17,022 | 128,614 | 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}}
}}