Templat:NUMBEROF
![]() | Templat ini menggunakan Lua: |
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}}
→ 2568366
To show the number of pages on ms in format raw:
{{NUMBEROF|pages|ms}}
→ 1072297
To show the number of pages on ms:
{{NUMBEROF|pages|ms|N}}
→ 1,072,297
Pendokumenan di atas ditransklusikan daripada Templat:NUMBEROF/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |