Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:PNT table/doc

From Wikipedia, the free encyclopedia

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}}
PNT Category counts
Languageto be
checked
needing
cleanup
French 144 81
2. {{PNT table|config=Chinese, Dutch, Indonesian, Russian}}
PNT Category counts
Languageto be
checked
needing
cleanup
Chinese 15 55
Dutch 0 2
Indonesian 5 9
Russian 15 99
3. {{PNT table|Portuguese,Spanish|col2=check|col3=clean|caption=PNT categories}}
PNT categories
Languagecheckclean
Portuguese 23 46
Spanish 122 127
4. {{PNT table|config={{WP:PNT/config EU}}|caption=PNT European languages}}
PNT European languages
Languageto be
checked
needing
cleanup
Albanian 1 0
Belarusian 0 3
Bosnian 0 0
Bulgarian 10 6
Catalan 8 8
Croatian 0 3
Czech 12 4
Danish 5 4
Dutch 0 2
Finnish 9 3
French 144 81
German 40 62
Greek 3 4
Hungarian 1 7
Italian 34 36
Norwegian 10 0
Polish 13 26
Portuguese 23 46
Romanian 12 4
Russian 15 99
Serbian 2 9
Serbo-Croatian 0 2
Slovak 2 2
Slovenian 0 1
Spanish 122 127
Turkish 5 14
Ukrainian 7 22

See also

[edit]