Jump to content

Template:User contrib CentralAuth

From Meta, a Wikimedia project coordination wiki
{{{1}}}+This user has made over {{{1}}} contributions to Wikimedia projects.
Template documentation

Template:Intricate syntax This is an edit-count userbox. The tool that it uses only shows undeleted contributions. For a more accurate one that includes deleted edits, see {{User contrib GUC}}

Usage

[edit]
{{User contrib CentralAuth|N}} (where N = number of edits per CentralAuth)

Or:

{{User contrib CentralAuth|N|User_name}} (User_name only needed if placed on a different page than your main userpage.)
{{User contrib CentralAuth|N|deleted=X}}: adds the string "over X of which were to pages that are now deleted". Used to show how many deleted contributions you've made, which doesn't show up in most edit counters.
{{User contrib CentralAuth|N|articles=X}}: adds the string "over X of which were to articles". Used to show how many of your edits you've made in the article namespace.
{{User contrib CentralAuth|N|distinct=X}}: adds the string "on over X distinct pages". Used to show how many contributions have been made to different pages in total. This variable can be seen in the XTools Edit Counter under "Pages edited (total)".
{{User contrib CentralAuth|N|images=X}}: adds the string "including over X uploaded images". Used to show how many images you've uploaded.
{{User contrib CentralAuth|N|cur_images=X}}: adds the string "over X of which are still current". Used to show how many of those images that are still current.
{{User contrib CentralAuth|N|insane=yes}}: adds the string "and, as a result, may be slightly insane", which was previously featured on the 100,000 edits box.
{{User contrib CentralAuth|N|total=yes}}: adds a link to a query page that gives your total number of edits, including deleted edits. Link displays as (total).

Colors are retained from the old edit count templates. To customize, use parameters id-bg, info-bg, border, id-font, and info-font to set the background, font, and border colors. If you want a more customized version, feel free to make a copy in your userspace.

For example, {{user contrib CentralAuth|100|User_name|id-bg=#bbbbee|info-bg=#ddddff|id-font=#000033|info-font=#333366|border=#aaaaaa}} gives you:

100+This user has made over 100 contributions to Wikimedia projects.

Link destination may also be changed by changing the link parameter:

{{User contrib CentralAuth|100|link=https://en.wikipedia.org/wiki/Special:CentralAuth/{{urlencode:{{BASEPAGENAME}}}}&dbname=enwiki_p}} makes:
100+This user has made over 100 contributions to Wikimedia projects.
{{User contrib CentralAuth|100|link=http://en.wikipedia.org/wiki/Special:Contributions/Username}} makes:
100+This user has made over 100 contributions to Wikimedia projects.

This template should use the CentralAuth counter.

Color reference

[edit]

For reference, these were the colors used when there were separate edit count templates:

Edit count id-color id-bg info-color info-bg
10 black lightpink black pink
25 black green black lightgreen
50 black #ffff99 black #ffff33
100 black #ffff99 black #ffff33
150 black #ffff99 black #ffff33
200 black #ffff99 black #ffff33
250 black #ff9933 black #ffcc99
300 black #007ba7 black #007bff
400 black green black lightgreen
500 black #ff3333 black #ff9999
600 black #3399ff black #99ccff
700 black #9900cc black #cc33ff
800 black #1560bd black #5e86c1
900 black steelblue black skyblue
1000 black #ff3399 black #ff99cc
1100 white #6a5acd black #9370db
1200 white #667788 black #887766
1500 black #ff3300 black #ff9900
2000 black steelblue black skyblue
2500 white #9900cc white #cc33ff
3000 black #33cccc black #55eeee
3500 black #1560bd black #5e86c1
4000 black #2e8b57 black #3cb371
4500 black red white maroon
5000 white #3333ff black #9999ff
5500 black lightcyan black cyan
6000 white #6a5acd black #9370db
7000 black #add8e6 black #4682b4
7500 black #3399ff black #99ccff
8000 black #808080 black #a9a9a9
9000 white black black gray
10000 black #33ffff black #99ffff
11000 white #0000ff black #00ffff
12000 black #ff8888 black lightblue
13000 black #ffff00 black #c0c0c0
14000 white #0000ff white #008000
15000 white green white limegreen
16000 white navy white red
17000 black gold black yellow
18000 white green white limegreen
19000 white #99ff33 white #66cc33
20000 black #deb887 white #8b0000
21000 black #ffa07a white #66cdaa
22000 white navy white red
23000 white crimson black gold
24000 black gold black silver
25000 black #33ff33 black #99cc99
30000 black #dda0dd black #d8bfd8
35000 black #ff00ff black #ee82ee
40000 black #da70d6 black #ff00ff
45000 black #ff00ff black #ee82ee
50000 black #ff00ff black #ee82ee
55000 black #ff00ff black #ee82ee
60000 black #ff00ff black #ee82ee
65000 black #ff00ff black #ee82ee
70000 black #ff00ff black #ee82ee
75000 black #ff00ff black #ee82ee
80000 black #ff00ff black #ee82ee
85000 black #ff00ff black #ee82ee
90000 black #ff00ff black #ee82ee
95000 black #ff00ff black #ee82ee
100000 #00ff00 black #00ff00 black
The Super contrib meta version will round these numbers automatically.

See also

[edit]

Template:Edit number userboxes