Template:PNT table
![]() | This template uses TemplateStyles: |
This template displays a table of category counts for categories populated by translation templates placed at the top of articles needing translation and associated with entries at WP:Pages needing translation into English.
Usage
[edit]{{PNT table}}
{{PNT table|Language1, Language2, Language3, ...}}
Parameters
[edit]There is one positional parameter and four named parameters; all optional:
|1=
⟶ comma-separated list of languages (e.g.,French, Dutch, German
) (alias: config; default: 52 languages at WP:PNT/config)|caption=
⟶ caption displayed above the table (default: 'PNT Category counts')|col2=
⟶ column 2 header (default: 'to be checked')|col3=
⟶ column 3 header (default: 'needing cleanup'}|style=
⟶ table style: unquoted, semicolon-separated CSS parameters; e.g.:font-size:90%; float:right
Note: if you have a long list of languages for param 1 (config), you can place the list into its own page instead and transclude the pagename in param 1. For example: if you use param |config=WP:PNT/config EU
then you have the result shown in example 4 below. You can make up your own config file and pass it in the same way. Note that lists longer than about ten languages will cause a vertical scroll bar to appear to view remaining rows.
Examples
[edit]- 1.
{{PNT table|French}}
⟶
Language | to be checked |
needing cleanup |
---|---|---|
French | 159 | 85 |
- 2.
{{PNT table|config=Chinese, Dutch, Indonesian, Russian}}
⟶
Language | to be checked |
needing cleanup |
---|---|---|
Chinese | 15 | 63 |
Dutch | 0 | 11 |
Indonesian | 5 | 8 |
Russian | 17 | 108 |
- 3.
{{PNT table|Portuguese,Spanish|col2=check|col3=clean|caption=PNT categories}}
⟶
Language | check | clean |
---|---|---|
Portuguese | 27 | 45 |
Spanish | 127 | 120 |
- 4.
{{PNT table|config={{WP:PNT/config EU}}|caption=PNT European languages}}
⟶
Language | to be checked |
needing cleanup |
---|---|---|
Albanian | 1 | 0 |
Belarusian | 0 | 3 |
Bosnian | 0 | 0 |
Bulgarian | 10 | 6 |
Catalan | 8 | 7 |
Croatian | 1 | 3 |
Czech | 13 | 6 |
Danish | 5 | 4 |
Dutch | 0 | 11 |
Finnish | 10 | 3 |
French | 159 | 85 |
German | 42 | 65 |
Greek | 4 | 5 |
Hungarian | 3 | 7 |
Italian | 35 | 43 |
Norwegian | 10 | 0 |
Polish | 15 | 23 |
Portuguese | 27 | 45 |
Romanian | 12 | 4 |
Russian | 17 | 108 |
Serbian | 2 | 12 |
Serbo-Croatian | 0 | 1 |
Slovak | 2 | 2 |
Slovenian | 0 | 1 |
Spanish | 127 | 120 |
Turkish | 5 | 14 |
Ukrainian | 6 | 19 |
See also
[edit]- {{PNT table/row}}
- WP:PNT