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.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a45fee1c393fc6f8

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 141 83
2. {{PNT table|config=Chinese, Dutch, Indonesian, Russian}} ⟶
PNT Category counts
Languageto be
checked
needing
cleanup
Chinese 15 51
Dutch 0 1
Indonesian 5 9
Russian 15 103
3. {{PNT table|Portuguese,Spanish|col2=check|col3=clean|caption=PNT categories}} ⟶
PNT categories
Languagecheckclean
Portuguese 23 50
Spanish 120 129
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 7 6
Croatian 0 3
Czech 12 5
Danish 5 4
Dutch 0 1
Finnish 9 3
French 141 83
German 40 68
Greek 3 4
Hungarian 1 7
Italian 34 35
Norwegian 9 0
Polish 13 25
Portuguese 23 50
Romanian 11 4
Russian 15 103
Serbian 2 9
Serbo-Croatian 0 2
Slovak 2 2
Slovenian 0 1
Spanish 120 129
Turkish 5 14
Ukrainian 7 22

See also

[edit]