Template talk:User
Latest comment: 19 years ago by Aya in topic Enhancements
Origins
editCopied the idea from uncyclopedia. - Aya T C 03:37, 15 August 2005 (UTC)
Enhancements
editSomething like this, but needs to cope with spacey names.
[http://kohl.wikimedia.org/~kate/cgi-bin/count_edits?user={{{1}}}&dbname=enwikibooks stats]
Aya T C 03:37, 15 August 2005 (UTC)
- The problem appears to be that the parameter is being passed with an underscore in place of the original space (e.g., Robert Horning is being converted to Robert_Horning). We need some way of stripping the underscore back out again before including it in the URL. The problem is that virtually no processing of the parameters is possible within templates, hopefully that will change in future. Geo.T 04:15, 15 August 2005 (UTC)
Well. The best I can do with a single parameter is this (I'm using a new template here, since the other one is 'live'):
The links work fine, but the name looks messy.
With two params you could have a inclusion that looks like this:
{{user2|Robert%20Horning|Robert Horning}}