Templat:NUMBEROF

Daripada Wikipedia, ensiklopedia bebas.
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

Templat digunakan untuk menunjukkan pembolehubah NUMBEROFARTICLES, NUMBEROFPAGES, NUMBEROFEDITS, NUMBEROFUSERS, NUMBEROFACTIVEUSERS, NUMBEROFADMINS dan NUMBEROFFILES wikipedia lain

Kegunaan[sunting sumber]

Ia digunakan oleh 3 parameters, yang ketiga adalah pilihan .

  • Parameter pertama (variable): articles, pages, edits, users, activeusers, admins, files
  • Parameter kedua (lang): es, en, de, fr...
  • Parameter ketiga (format): using N, it prints the number grouped in three numbers, without it it is shown in raw format, it permits to make mathematical operations with parserFunctions.

English[sunting sumber]

Full Documentation at en:Template:NUMBEROF.

Examples[sunting sumber]

To show the number of articles of the French Wikipedia in format raw:

  • {{NUMBEROF|articles|fr}} → 2604230

To show the number of pages on ms in format raw:

  • {{NUMBEROF|pages|ms}} → 1081851

To show the number of pages on ms:

  • {{NUMBEROF|pages|ms|N}} → 1,081,851