| This is a documentation subpage for Template:WP7. It contains usage information, categories and other content that is not part of the original template page. |
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,079,530 | 8,443,803 | 260,656,624 | 169 | 4,884,748 | 38,938 | 130,247 | 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}}
}}
Related Templates