Template talk:User VI

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Request for subtract optional parameter together with the cat parameter[edit]

If I try to use this template on my user page it displays a number which is one larger than the actual image count. That is because {{PAGESINCAT}} is not aware of whether it is images or other types of objects (pages, categories, etc), which is being counted. In my case I also have a page categorized to the same category with an archive of all the promotion messages, which have led to VIs. Thus, {{PAGESINCAT}} returns a number which is one too large to represent the number of VIs. It would therefore be nice if the template had support for another optional subtract parameter, which defines a number to be subtracted from the {{PAGESINCAT}}. I have hardcoded such support into my personalized graph of contributions: User:Slaunger/Graph of contributions and used {{#expr}} to evaluate the corrected number.

Same request applies to {{User QI}} and {{User FP}}.

Not an urgent request, at all. I can implement it myself, I am just very busy for the time being, so it will not be in the near future. But if someelse is just dying to do it.... --Slaunger (talk) 05:30, 26 May 2010 (UTC)[reply]

Thank you. I overlooked this bug. Now it's done --UnreifeKirsche (talk) 21:23, 26 May 2010 (UTC)[reply]
Thank you too! I am now using all of them with the new sub parameter. Another thing, if you have the time. If the cat parameter is specified it would be nice if the user box text linked to the user category for quick access to browsing the promoted images. For instance, it could be the number which is linked or the uploaded text. --Slaunger (talk) 06:08, 27 May 2010 (UTC)[reply]
Done --UnreifeKirsche (talk) 19:03, 1 June 2010 (UTC)[reply]