Template:User contrib/doc

From Wikisource
Jump to navigation Jump to search

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|lang=X}}
: prepends "Wikisource" with the name of one or more projects. So replacing X with "English" yields "the English Wikisource"
{{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".
{{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|log=yes}}
: changes text to indicate that the number represents logged actions, such as page moves or deletions, rather than other edits.

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=#00ff00|info-bg=#000000|id-font=#000000|info-font=#00ff00|border=#000000|total=yes}}

gives you:

100+

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

{{User contrib|100|link=https://xtools.wmflabs.org/ec/?user={{urlencode:{{BASEPAGENAME}}}}&lang=en&wiki=wikisource}}
makes:
100+
{{User contrib|100|link=https://en.wikipedia.org/wiki/Special:Contributions/Username}}
makes:
100+
{{User contrib|40000|link=https://commons.wikimedia.org/wiki/Special:Contributions/Username}}
makes:
40000+
{{User contrib|10000|link=https://commons.wikimedia.org/wiki/Special:Contributions/Username}}
makes:
10000+
{{user contrib|100|User_name|lang=English|deleted=10|articles=10|distinct=50|images=20|cur_images=10|insane=yes|total=yes|log=yes}}
makes:
100+
{{user contrib|100000}}
makes:
100000+

There are various edit counters here. The fast edit counter is here.

Color Reference

[edit]
Current colors
0+
1000+
2000+
3000+
4000+
5000+
6000+
7000+
8000+
9000+
10000+
11000+
12000+
13000+
14000+
15000+
16000+
17000+
18000+
19000+
20000+
21000+
22000+
23000+
24000+
25000+
26000+
27000+
28000+
29000+
30000+
31000+
32000+
33000+
34000+
35000+
36000+
37000+
38000+
39000+
40000+
41000+
42000+
43000+
44000+
45000+
46000+
47000+
48000+
49000+
50000+
51000+
52000+
53000+
54000+
55000+
56000+
57000+
58000+
59000+
60000+
61000+
62000+
63000+
64000+
65000+
66000+
67000+
68000+
69000+
70000+
71000+
72000+
73000+
74000+
75000+
76000+
77000+
78000+
79000+
80000+
81000+
82000+
83000+
84000+
85000+
86000+
87000+
88000+
89000+
90000+
91000+
92000+
93000+
94000+
95000+
96000+
97000+
98000+
99000+
100000+


These were the previous default colors:

Edit count id-bg id-font info-bg info-font
<0, non-numeric #333333 #FFFFFF #DDDDDD #000000
<10 #FF33FF #FFFFFF #999900 #000000
<25 #FFCCCC #FFFFFF #FF9999 #000000
<50 #006600 #FFFFFF #00FF99 #000000
<250 #FFFF99 #FFFFFF #FFFF33 #000000
<300 #FF9933 #FFFFFF #FFCC99 #000000
<400 #007BA7 #FFFFFF #007BFF #000000
<500 #006600 #FFFFFF #00FF99 #000000
<600 #FF3333 #FFFFFF #FF9999 #000000
<700 #3399FF #FFFFFF #99CCFF #000000
<800 #9900CC #FFFFFF #CC33FF #000000
<850 #1560BD #FFFFFF #5E86C1 #000000
<900 #6A5ACD #FFFFFF #9370DB #000000
<1000 #006699 #FFFFFF #66CCFF #000000
<1100 #FF3399 #000000 #FF99CC #000000
<1200 #6A5ACD #000000 #9370DB #000000
<1500 #667788 #FFFFFF #887766 #000000
<2000 #FF3300 #FFFFFF #FF9900 #000000
<2500 #006699 #000000 #66CCFF #000000
<3000 #9900CC #FFFFFF #CC33FF #FFFFFF
<3500 #33CCCC #FFFFFF #55EEEE #FFFFFF
<4000 #1560BD #FFFFFF #5E86C1 #FFFFFF
<4500 #2E8B57 #FFFFFF #3CB371 #000000
<5000 #FF0000 #000000 #660000 #FFFFFF
<5500 #3333FF #FFFFFF #9999FF #FFFFFF
<6000 #CCFFFF #000000 #00FFFF #FFFFFF
<7000 #6A5ACD #FFFFFF #9370DB #FFFFFF
<7500 #ADD8E6 #FFFFFF #4682B4 #FFFFFF
<8000 #3399FF #FFFFFF #99CCFF #FFFFFF
<9000 #808080 #000000 #A9A9A9 #FFFFFF
<10000 #000000 #FFFFFF #808080 #FFFFFF
<11000 #33FFFF #000000 #99FFFF #FFFFFF
<12000 #0000FF #FFFFFF #00FFFF #FFFFFF
<13000 #FF8888 #FFFFFF #CCCCFF #FFFFFF
<14000 #FFFF00 #000000 #C0C0C0 #000000
<15000 #0000FF #000000 #008000 #000000
<16000 #006600 #000000 #66CC33 #000000
<17000 #000066 #FFFFFF #FF0000 #FFFFFF
<18000 #FFCC33 #000000 #FFFF00 #000000
<19000 #006600 #000000 #FFFF00 #000000
<20000 #99FF33 #FFFFFF #66CC33 #000000
<21000 #DEB887 #FFFFFF #8B0000 #000000
<22000 #FFA07A #000000 #66CDAA #000000
<23000 #000066 #000000 #FF0000 #FFFFFF
<24000 #DC143C #FFFFFF #FFD700 #FFFFFF
<25000 #FFCC33 #FFFFFF #66CDAA #FFFFFF
<30000 #33FF33 #FFFFFF #99CC99 #FFFFFF
<35000 #DDA0DD #FFFFFF #D8BFD8 #FFFFFF
<40000 #FF00FF #FFFFFF #EE82EE #FFFFFF
<45000 #DA70D6 #FFFFFF #FF00FF #FFFFFF
<100000 #FF00FF #000000 #EE82EE #000000
≥100000 #000000 #00FF00 #000000 #00FF00

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