Plantilla:Punts UKB

De Viquipèdia
Salta a la navegació Salta a la cerca
Icona de documentació de mòdul Documentació de la plantilla [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]

{{Punts UKB}} is used to define a rule for how points should be awarded in a contest checked by User:UKBot. In addition to being readable for the bot, the template also produces a human readable form of the points rule.

Each contest must have at least one {{UKB points}} template, but can have multiple.

Descripció[modifica]

The first parameter defines what kind of action points should be awarded for, while the second parameter defines the number of points. Supported actions:

nou
points are awarded for each new page created (excluding redirects).
Exemple: {{Punts UKB| nou | 10 }}
redirecció
points are awarded for each new redirect page created.
Exemple: {{Punts UKB| redirecció | 2 }}
byte
points are awarded for each byte added.
Exemple: {{Punts UKB| byte | 0.01 }} will award 1 point for every 100 bytes.
|maxpoints= can be used to limit the max number of points awarded per page.
Exemple: {{Punts UKB| byte | 0.01 | maxpoints=50 }} will award 1 point for every 100 bytes added, but no more than 50 points per page.
bytebonus
adds a fixed bonus if more than a given number of bytes is added to a single page.
Exemple: {{Punts UKB| bytebonus | 20 | 3000 }} will award 20 points if more than 3000 bytes was added to a single page.
paraula
points are awarded for every word added to the running text (not including text inside info boxes, other templates or tables).
Exemple: {{Punts UKB| paraula | 0.05 }} will award 1 points per 20 words added.
paraulabonus
adds a fixed bonus if more than a given number of words is added to a single page.
Exemple: {{Punts UKB| paraulabonus | 10 | 200 }} will award 10 points if more than 200 words was added to a single page.
imatge
points are awarded for every image added
Exemple: {{Punts UKB| imatge | 5 }} will award 5 points for every image added.
|maxpoints= can be used to limit the max number of points awarded per page.
Exemple: {{Punts UKB| imatge | 5 | maxpoints=15 }} will award 5 points for every image added, but no more than 15 points per page.
|self-uploaded= can be used to award more points to images added that was uploaded by the same user.
Exemple: {{Punts UKB| imatge | 5 | self-uploaded=10 }} will award 10 points for every image added that was uploaded by the same user, and 5 points for other images added.
|initial limit= can be used to only award adding images to articles having no more than a specified number of images from before.
Exemple: {{Punts UKB| imatge | 5 | initial limit=0 }} will only award points for adding images to pages that did not have images from before.
cita
points are awarded for every citation added
Exemple: {{Punts UKB| cita | 3 | 1 }} will award 3 points for every citation added and 1 point for every reference to a named citation.
qualificat
awards a fixed number of points for every qualified page contributed to in some way.
Exemple: {{Punts UKB| qualified | 20 }} will award 20 points for every qualified page.
edit
awards a fixed number of points for every edit to a qualified page.
Exemple: {{Punts UKB| edició | 1 }} will award 1 point for every edit.
plantilla eliminada
awards a fixed number of points for removing a template.
Exemple: {{Punts UKB| plantilla eliminada | 2 | Citation needed }} will award 2 points for every {{Citation needed}} template removed.
Wild cards are supported in the beginning or end.
Exemple: {{Punts UKB| plantilla eliminada | 2 | *stub }} will award 2 points for every stub template removed, such as {{physics stub}}...
enllaç extern
points are awarded for every external link added
Exemple: {{Punts UKB| enllaç extern | 5 }} will award 5 points for every external link added
|maxpoints= the max number of points awarded per page.
Exemple: {{Punts UKB| enllaç extern | 5 | maxpoints=15 }} will award 5 points for every external link added, but no more than 15 points per page.

Vegeu també[modifica]