Template:WP7a/doc
This is a documentation subpage for Template:WP7a. 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. 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 | 160 | 2,187 | 38,545 | 2 | 18,637 | 10 | 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}}
}}
Related Templates