Wikipedia:Requested templates/Other/2005/September

From Wikipedia, the free encyclopedia

[edit] Number of Contributions

I would like a template that displays the numer of edits a user had made. I know Wikipeda has a way of counting edits. I have made a "dummy template" below to illistrate what I want. A "dummy template" is not actually a template, it is a Divbox that has been placed into the article.

{{contrib|user=UserNameHere}} Would expand into

The number 00 represents the number of edits that apply to the coresponding edit types, it is not necessarily going to always be zero, or two digits (a real zero would look like 0). "Articles edited" means the number of aricles that the user has edited at least once, including article creations. The same principle applies to Talk, Project, and template pages.

this is just a suggestion, It is less likely a completed virsion (if any) would resemple this "dummy template"


The problem is that I have no idea where to get those numbers from. Is there a way? or would an Admin have to create a {{TOTALEDITS}} function that returns a single numerical value (number of edits)? Kjammer 08:57, 2 September 2005 (UTC)

Perhaps something similar to Kate's tool. Kjammer 06:48, 16 September 2005 (UTC)
This would be nifty, but wouldn't it put a terrible load on the servers once it became popular, as I imagine would happen? Especially if people started adding it with their sigs in talk pages? If anyone implements this, I hope they will put it on their own website, and write the template to use of their own CPU cycles :-/ If anyone is willing to do this, I think this would be a nifty template.---CH [[User_talk:Hillman|(talk)]] 01:28, 21 November 2005 (UTC)
There is no way to implement this through templates alone. The edit count tools perform queries against the database - a function which cannot be performed by a template. Thus, any data to be displayed here would have to be garnered through the use of such a tool and then manually updated regularly. See Template:User edits for an existing example of such a 'manual input' edit count template. --CBDunkerson 03:03, 16 March 2006 (UTC)


[edit] SectionCopy

I don't know if there's another way to do this (if so, please tell me: talk), but I've often found that I need to copy certain information between articles. Besides this being tedious, it also causes problems, for instance when one instance of the information is updated, and then the copy remains untouched. It also means that correctly updating pieces of information across WikiPedia involves multiple article edits.

Here's an example:
On the Stargate SG-1 page, there is information about when each Season of the show is released on DVD. This information is also available, in less detail, on the List of Stargate SG-1 episodes page, which lists each of the aforementioned Seasons.

What I want to be able to do is, on the List of Stargate SG-1 episodes page, add {{SectionCopy|Stargate SG-1|DVD releases}} and then have that section of the Stargate SG-1 actively rendered into the List of Stargate SG-1 episodes article.

Optionally, it would be even more helpful to be able to copy just small sections of sections, by placing marker templates in the source article. So, for instance:

Source Article#Section
Blah blah blah blah blah blah blah blah blah blah
{{SectionCopy|open}}
Important Bit
{{SectionCopy|close}}
Blah blah blah blah blah blah blah blah blah blah
Destination Article#Section
Blah blah blah blah blah blah
{{SectionCopy|Source Article|Section|use-tags}}
Blah blah blah blah blah blah blah blah

Obviously the {{SectionCopy|open}} and {{SectionCopy|close}} tags are invisible on the actual page.

This is 'SectionCopy' only because we don't want full articles to be copied across WikiPedia; if you need to copy more than a section then you're doing something wrong.

If this is already available, I'd love to know about it, and if it's not, why on earth not!? This would be so helpful, and thankyou to anyone who codes this. --alfakim 21:17, 29 September 2005 (UTC)

It isn't possible with current software to display a portion of some other article in this way. However, the functionality you are looking for can be accomplished by putting the text to be displayed in 2+ articles into a template and then calling that template in each. --CBDunkerson 20:39, 18 March 2006 (UTC)