Template:User contrib

Template documentation


Usage

edit
{{User contrib|N}} (where N = number of edits)

Or:

{{User contrib|N|User_name}} (User_name only needed if placed on a different page than your main userpage.)
{{User contrib|N|format=no}}: by default, the figure N is displayed with commas separating thousands. Use |format=no to suppress these commas.
{{User contrib|N|lang=X}}: prepends "Wikipedia" with the name of one or more languages. So replacing X with "English" yields "contributions to the English Wikipedia"
{{User contrib|N|project=X}}: replaces "Wikipedia" with the name of one or more projects, for example |project=Wikimedia Commons yields "contributions to Wikimedia Commons". May be used in combination with |lang=, for example |lang=French|project=Wiktionary yields "contributions to the French Wiktionary".
{{User contrib|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|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|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 wanabe_kate counter under "number of unique pages". The parameter |unique= is a synonym for |distinct=.
{{User contrib|N|images=X}}: adds the string "as well as uploaded X images". Used to show how many images you've uploaded.
{{User contrib|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|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|N|total=yes}}: adds a link to a query page that gives your total number of edits, including deleted edits. Link displays as (total).
{{User contrib|N|bot=yes}}: by default, the text begins "This user has". Use |bot=yes to change this to "This bot has".
{{User contrib|N|log=yes}}: changes text to indicate that the number represents logged actions, such as page moves or deletions, rather than other edits.
{{User contrib|N|linked=no}}: suppresses the normal extlink to the edit counter (useful for people/bots who have way too many edits for detailed edit counters to handle gracefully).

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|100|User_name|id-bg=#bbbbee|info-bg=#ddddff|id-font=#000033|info-font=#333366|border=#aaaaaa}} gives you:

100+This user has made more than 100 contributions to Wikimedia.

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

{{User contrib|100|link=http://en.wikipedia.org/wiki/Special:Contributions/Username}} makes:
100+This user has made more than 100 contributions to Wikimedia.
{{User contrib|100|link=//xtools.wmflabs.org/ec/en.wikipedia.org/{{urlencode:{{BASEPAGENAME}}}}}} makes:
100+This user has made more than 100 contributions to Wikimedia.

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