Template talk:User

From Wikipedia, the free encyclopedia

Protected Template:User has been protected indefinitely. Use {{editprotected}} on this page to request an edit.

[edit] Usage

{{user|Example}} produces Example (talk contribs).

[edit] See also

Note that Usernames with spaces should generally be typed with an underscore _.

Contents


[edit] Discussion

Is there some template that has in addition to the current info, also has edit time? i.e. the equivalent of {{user|Sundar}} ~~~~~ -- Sundar (talk contribs) 11:46, Mar 28, 2005 (UTC)


This template includes a Carriage Return which causes formatting problems when it's used in the middle of text; e.g. "** {{User|Foo}} is doing bad stuff." results in a line break before the text, making it unindented. I propose to remove the CR - and I hope this won't screw up too many places that assume it's there. Or should we just make another template, almost identical to {User}, but without the CR? Noel (talk) 18:36, 6 May 2005 (UTC)

  • Example (talk contribs) Looks fine to me. I believe this template never had a CR. --cesarb 00:31, 7 May 2005 (UTC)
    • Well, something changed, because my example didn't use to work - it was screwing up WP:AN/3RR all the time. But you're right, it works now. Hallelujah! Noel (talk) 22:45, 25 Jun 2005 (UTC)

[edit] Shortening?

Would anyone object to shortening this? i.e. like: Example (t · c) — comments? Thanks. --ChrisRuvolo (t) 21:21, 23 May 2005 (UTC)

I prefer the current long form, since it's more self-explanatory. --cesarb 15:48, 26 May 2005 (UTC)
I also prefer the current form because it's self-explanatory to new users who might not know what it all means. Zzyzx11 (Talk) 15:52, 26 May 2005 (UTC)

Yes, I can see how it would be confusing to new users. No problem, I withdraw my suggestion. --ChrisRuvolo (t) 20:10, 31 May 2005 (UTC)

To clarify, I agree the general use has good reasons to have the long form. For those that specifically want a more compact form, I created Template:User-c. Example (t·c) Thanks. --ChrisRuvolo (t) 21:15, 6 Jun 2005 (UTC)

[edit] Edit count

It would appear the only way to fix the edit count link would be to ask Kate to modify her edit counter to convert _ into spaces, then everything would work. — BRIAN0918 • 2005-08-15 23:40

It doesn't work for people with spaces in their names, nor for IP addresses. I suggest removing it until the tool is fixed. Jayjg (talk) 23:54, 15 August 2005 (UTC)
Agreed and done. It wasn't backwards compatible and broke in a really bad and unintuitive way. Jarvik 00:21, 16 August 2005 (UTC)
I've asked Kate to modify the tool. -- Rick Block (talk) 00:22, August 16, 2005 (UTC)
Alternatively, a new interwiki link could be created (this would automatically convert spaces into underscores). I have added this to the interwiki table, when a developer next updates the interwiki matrix it can be used via normal wiki markup, e.g. [[EditCount:Username]]. Talrias (t | e | c) 04:12, 16 August 2005 (UTC)
Current revision affects a lot of names negatively. Check out Wikipedia:Vandalism_in_progress/Willy_on_Wheels#Accounts for a list of examples. AdamRock 18:48, August 18, 2005 (UTC)
Changing ALL the spaces into underscores would fix this problem, but there's a long list and the template worked with just the (talk * contribs) for the spaces just fine before. Maybe make a Template:User2 that adds the count for people who want it? AdamRock 18:55, August 18, 2005 (UTC)

[edit] Contribs?

I once had it pointed out to me for a very good reason that normally a user does not need to see another user's contribs. The only cases it would need to be used is for Rfa's, Rfc's, vandalism, etc. See this for the archived discussion. — Ilγαηερ (Tαlκ) 02:15, 17 August 2005 (UTC)

IMHO this template is not really useful (especially if edit count link is fixed and re-established) for sigs. In any other instance where one wanted to refer to a user or group/list of users (like the reasons specificed, or in a project page's list of contributors, or other lists (list of admins, list of banned IPs, etc)) then it is quite useful. One can get a general idea of a user's activity and areas of general interest with just a click or two.
Also, there are other instances when one finds a link to other users' contributions. When comparing two versions of a page's history, the users' name/link has "(Talk | contribs)" following it. And watch lists show anonymous IPs as links to their contributions. But I do agree it is not needed in a sig.
Perhaps something like Template:Sig with just a link to the user's front and talk page along with the date would be appropriate, with a note on this page to use that template instead of {{User|user}} for sigs. I withdraw that last suggestion. This (or any) template should not be used for sigs. To quote Radiant! here"You aren't actually supposed to use templates for signatures in the first place (it's a server load issue).". This is also repeated in Special:Preferences. Splarka 00:01, 18 August 2005 (UTC)
There's no template server load issue if you use subst: with your templates. Does anybody know if a template can be configured to automatically subst: itself? I used the template for this signature, but used subst so that it'll automatically copy the template code into this talk page. This is what I typed: {{subst:user|Aaron McDaid}} ~~~~~ .
Also, does anybody think it'd be cool if there was a special user subpage which would automatically included when any user is editing? It would be similar to the Insert: buttons listed below the 'Save page' button, but each user could edit it to whatever they found useful including, but not limited to, custom sigs. Aaron McDaid (talkcontribs) 01:37, 29 January 2006 (UTC)
I have changed my mind. All we need to do is get users to make their own monobook.js (assuming you're on the default skin). This allows each user to customize his/her sig completely by changing the behaviour of the sig button. I've only just discovered that functionality. That code does need improving though, for those who generally don't use the buttons. --Aaron McDaid (talk - contribs) 16:11, 29 January 2006 (UTC)

[edit] new template - User3

Hello, everyone!

I've made a new template, {{user3}}, that shows user logs. Note that the input name is case-sensitive. Enjoy! --Ixfd64 14:50, 2005 September 6 (UTC)

[edit] Wasn't it originally...

[[User:{{{1}}}|{{{2|{{{1}}}}}}]] instead of just [[User:{{{1}}}|{{{1}}}]]? —  $PЯINGrαgђ  Always loyal! 05:45, 28 November 2006 (UTC)

[edit] please add the interwiki link

Some who has the permission to edit this template page add this interwiki link

[[te:Template:సభ్యుడు]]

__Mpradeep 15:56, 1 December 2006 (UTC)

[edit] Change See Also Section

Change to: {{Signatures}} a template would help make adding different user signatures to the list easier. AMK152 20:22, 3 December 2006 (UTC)

[edit] See Also, Other User Signatures

In addition to this one, other user signatures include:

Template Example
{{User}} Example (talk contribs)
{{User0}} Example (talk)
{{User2}} Example (talk contribs count)
{{User3}} Example (talk contribs logs)
{{User4}} Example (talk contribs  email)
{{User5}} Example (talkcontribspage movesblock userblock log • rfcu)
{{User6}} Example (talk contribs count logs page moves block log email)
{{User7}} Example (talk contribs count logs email)
{{User8}} Example (talk · contribs · count · email)
{{User9}} Example (talk contribs count)
{{User10}} Example (talk contribs count logs)
{{user-c}} Example (t·c)
{{Userlinks-abbr}} (u t c m l)
{{userblock}} Example (talk · contribs · block log)
{{userlinks}} Example (talk · contribs · logs · block user · block log)
{{Admin}} Example (talk contribs blocks protects deletions moves)
{{Admin-abbr}} Example (t c b p d m)
{{unsigned}} —The preceding unsigned comment was added by Example (talkcontribs).
{{unsigned2}} —The preceding unsigned comment was added by Example (talkcontribs) 18:45, December 6, 2006 (UTC)
{{unsigned3}} —The preceding comment is by Example (talkcontribs) 18:45, December 6, 2006: Please sign your posts!
{{undated}} —The preceding signed but undated comment was added at 18:45, December 6, 2006 (UTC).
{{unsignedIP}} —The preceding unsigned comment was added by Example (talk)

Note that Usernames with spaces should generally be typed with an underscore: _

--Turbinator 20:14, 19 December 2006 (UTC)

[edit] Interwiki

Please add [[sv:Mall:Användarnamn]]. Also, see above request for [[te:Template:సభ్యుడు]]. /skagedal... 18:47, 2 January 2007 (UTC)

Done. Cheers! :) Luna Santin 21:52, 2 January 2007 (UTC)

[edit] Compensating for redirect from Template:Vip

The template code currently reads "[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] <small>•</small> [[Special:Contributions/{{{1}}}|contribs]])", which evaluates with my username as "JeffGent (talk contribs)". However, Template:Vip was redirected to this template by Radiant! at 07:22 on 27 May 2005 (UTC) after a short discussion documented at Wikipedia:Templates for deletion/Log/Deleted/May 2005#Template:Vip, breaking the existing functionality because Template:Vip used the syntax "user" for the user name, rather than this template's syntax "1" for the user name, causing a display of the ugly "[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] <small>•</small> [[Special:Contributions/{{{1}}}|contribs]])" when used with the syntax "user" for the user name. I suggest compensating for that change by substituting "{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}" for everywhere that "{{{1}}}" appears, resulting in code that reads "[[User:{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}]] ([[User talk:{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|talk]] <small>•</small> [[Special:Contributions/{{#if:{{{user|}}}|{{{user}}}}}{{#if:{{{1|}}}|{{{1}}}}}|contribs]])", which evaluates with my username as "JeffGent (talk contribs)" whether I use the syntax "user" for the user name or this template's syntax "1" for the user name. Working sample code is at User:JeffGent/testvip and documented in its talk page.

As an alternative, as mentioned in that short discussion by Phil, a bot should have been implemented fix all the usages of the "user" syntax, but the usage of that syntax could have survived in new edits (despite the redirect).

  — Jeff G. (talk|contribs) 15:00, 18 February 2007 (UTC)


There's an easier alternative to the parser functions, where the server slips in other values when a variable is undefined (these can be strings or variables, in this case they're variables):

[[User:{{{user|{{{1}}}}}}|{{{user|{{{1}}}}}}]] ([[User talk:{{{user|{{{1}}}}}}|talk]] <small>•</small> [[Special:Contributions/{{{user|{{{1}}}}}}|contribs]])

I'm also somewhat tempted to just have {{vip}} read:

{{user|1={{{user}}}}}

And, of course, the bot option. Wouldn't be too hard, I count only 504 transclusions of {{vip}}. Might be better than complicating this template. Thoughts? – Luna Santin (talk) 21:01, 18 February 2007 (UTC)

Of course, the bot option would be cleaner in the long run. Please feel free to implement it, as I can't. Thanks! — Jeff G. (talk|contribs) 07:21, 5 March 2007 (UTC)

[edit] font change

This is probably a stupid question, but I noticed the font the username is rendered in when using {{user}} and {{userlinks}} changed recenty, while some of the other, similar templates are still the same, like {{IPvandal}}. Does anyone know why that happened? Natalie 00:52, 10 March 2007 (UTC)