Wiki Article
Template:PNT table
Nguồn dữ liệu từ Wikipedia, hiển thị bởi DefZone.Net
| 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 | 155 | 81 |
- 2.
{{PNT table|config=Chinese, Dutch, Indonesian, Russian}}⟶
| Language | to be checked |
needing cleanup |
|---|---|---|
| Chinese | 15 | 64 |
| Dutch | 0 | 4 |
| Indonesian | 5 | 8 |
| Russian | 17 | 108 |
- 3.
{{PNT table|Portuguese,Spanish|col2=check|col3=clean|caption=PNT categories}}⟶
| Language | check | clean |
|---|---|---|
| Portuguese | 27 | 48 |
| Spanish | 125 | 118 |
- 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 | 1 |
| Bulgarian | 10 | 6 |
| Catalan | 8 | 8 |
| Croatian | 1 | 3 |
| Czech | 13 | 5 |
| Danish | 5 | 3 |
| Dutch | 0 | 4 |
| Finnish | 9 | 3 |
| French | 155 | 81 |
| German | 42 | 67 |
| Greek | 4 | 5 |
| Hungarian | 3 | 8 |
| Italian | 35 | 39 |
| Norwegian | 10 | 0 |
| Polish | 15 | 21 |
| Portuguese | 27 | 48 |
| Romanian | 12 | 4 |
| Russian | 17 | 108 |
| Serbian | 2 | 12 |
| Serbo-Croatian | 0 | 1 |
| Slovak | 2 | 2 |
| Slovenian | 0 | 1 |
| Spanish | 125 | 118 |
| Turkish | 5 | 15 |
| Ukrainian | 7 | 20 |
See also
[edit]- {{PNT table/row}}
- WP:PNT