Jump to content

Template:UKB points/doc

From Wikipedia, the free encyclopedia

This template is not used on the English Wikipedia, but it has been kept as a convenience for the operation of a bot on other Wikipedias.

{{UKB points}} 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.

Usage

[edit]

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

new
points are awarded for each new page created (excluding redirects).
Example: {{UKB points | new | 10 }}
redirect
points are awarded for each new redirect page created.
Example: {{UKB points | redirect | 2 }}
byte
points are awarded for each byte added.
Example: {{UKB points | 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.
Example: {{UKB points | 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.
Example: {{UKB points | bytebonus | 20 | 3000 }} will award 20 points if more than 3000 bytes was added to a single page.
word
points are awarded for every word added to the running text (not including text inside info boxes, other templates or tables).
Example: {{UKB points | word | 0.05 }} will award 1 points per 20 words added.
wordbonus
adds a fixed bonus if more than a given number of words is added to a single page.
Example: {{UKB points | wordbonus | 10 | 200 }} will award 10 points if more than 200 words was added to a single page.
image
points are awarded for every image added
Example: {{UKB points | image | 5 }} will award 5 points for every image added.
|maxpoints= can be used to limit the max number of points awarded per page.
Example: {{UKB points | image | 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.
Example: {{UKB points | image | 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.
Example: {{UKB points | image | 5 | initial limit=0 }} will only award points for adding images to pages that did not have images from before.
citation
points are awarded for every citation added
Example: {{UKB points | citation | 3 | 1 }} will award 3 points for every citation added and 1 point for every reference to a named citation.
qualified
awards a fixed number of points for every qualified page contributed to in some way.
Example: {{UKB points | qualified | 20 }} will award 20 points for every qualified page.
edit
awards a fixed number of points for every edit to a qualified page.
Example: {{UKB points | edit | 1 }} will award 1 point for every edit.
template removal
awards a fixed number of points for removing a template.
Example: {{UKB points | template removal | 2 | Citation needed }} will award 2 points for every {{Citation needed}} template removed.
Wild cards are supported in the beginning or end.
Example: {{UKB points | template removal | 2 | *stub }} will award 2 points for every stub template removed, such as {{physics stub}}...
external link
points are awarded for every external link added
Example: {{UKB points | external link | 5 }} will award 5 points for every external link added
|maxpoints= the max number of points awarded per page.
Example: {{UKB points | external link | 5 | maxpoints=15 }} will award 5 points for every external link added, but no more than 15 points per page.

See also

[edit]