Πρότυπο:NUMBEROF/τεκμηρίωση: Διαφορά μεταξύ των αναθεωρήσεων
Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Χωρίς σύνοψη επεξεργασίας Ετικέτα: επεξεργασία κώδικα 2017 |
Ετικέτα: επεξεργασία κώδικα 2017 |
||
Γραμμή 3:
Template used to show the variables NUMBEROFARTICLES, NUMBEROFPAGES, NUMBEROFEDITS, NUMBEROFUSERS, NUMBEROFACTIVEUSERS, NUMBEROFADMINS and NUMBEROFFILES of other Wikipedias.
=== Usage ===
It is used by 3 parameters, the third one is optional .
* '''First parameter (variable):''' ARTICLES, PAGES, EDITS, USERS, ACTIVEUSERS, ADMINS or FILES.
* '''Second parameter (lang):''' es, en, de, fr...
* Third parameter (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.
Example, to show the number of articles of the [[French Wikipedia]] in format ''raw'':
<code><nowiki>{{NUMBEROF|ARTICLES|fr}}</nowiki></code> → {{NUMBEROF|ARTICLES|fr}}
Also, the template includes the parameter "total", it shows the total of the given value: <code><nowiki>{{NUMBEROF|ADMINS|total|N}}</nowiki></code> → {{NUMBEROF|ADMINS|total|N}}
The template is updated by a pywikipedia bot using this [[w:es:Usuario:Bigsus-bot/Variables.py|script]].
<includeonly>
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Wikipedia variable-like templates]]
</includeonly>
=== Usage ===
|