Template talk:User

From Wikiversity
Jump to navigation Jump to search

Origins[edit source]

Copied the idea from uncyclopedia. - Aya T C 03:37, 15 August 2005 (UTC)Reply[reply]

Enhancements[edit source]

Something 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)Reply[reply]

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)Reply[reply]

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}}

Aya T E C 04:45, 15 August 2005 (UTC)Reply[reply]