m (spaces -> non-breaking spaces, this should never really wrap)
m (ooooof)
Line 1: Line 1:
{{#switch:{{{2}}}
+
{{#switch:{{{2}}}<!--
|username
+
-->|username<!--
|name=[[User:{{{1}}}|{{{1}}}]]
+
-->|name=[[User:{{{1}}}|{{{1}}}]]<!--
|talk=[[User talk:{{{1}}}|talk]]
+
-->|talk=[[User talk:{{{1}}}|talk]]<!--
|contribs=[[Special:Contributions/{{{1}}}|contribs]]
+
-->|contribs=[[Special:Contributions/{{{1}}}|contribs]]<!--
|scratch=[https://scratch.mit.edu/users/{{{1}}} {{{1}}}]
+
-->|scratch=[https://scratch.mit.edu/users/{{{1}}} {{{1}}}]<!--
|#default=[[User:{{{1}}}|{{{1}}}]]{{nbsp}}([[User talk:{{{1}}}|talk]]{{nbsp}}{{!}}{{nbsp}}[[Special:Contributions/{{{1}}}|contribs]])
+
-->|#default=[[User:{{{1}}}|{{{1}}}]]{{nbsp}}([[User talk:{{{1}}}|talk]]{{nbsp}}{{!}}{{nbsp}}[[Special:Contributions/{{{1}}}|contribs]])<!--
}}<noinclude>{{/doc}}[[Category:Quicklink Templates|User]]</noinclude>
+
-->}}<noinclude>{{/doc}}[[Category:Quicklink Templates|User]]</noinclude>

Revision as of 08:57, 14 January 2019

[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] | [[Special:Contributions/{{{1}}}|contribs]])

[edit] [history] [purge] Documentation Template documentation

This documentation is transcluded from Template:User/doc.

This template makes it easier for someone to link to another user, complete with a link to the user's contributions, talk page and user page. This also can be used to create a signature for another user. The only parameter needed for this template is a user's username. If a non-existent user is used in the template, red links occur.

Usage

This template takes one optional parameter. Its values can include:

  • name
  • talk
  • contribs
  • scratch

It can also simply be unused.

Usage Result
{{user|scmb1}}
scmb1 (talk | contribs)
{{user|scmb1|name}}
scmb1
{{user|scmb1|talk}}
talk
{{user|scmb1|contribs}}
contribs
{{user|scmb1|scratch}}
In Scratch

Example

Talk:Community Portal

I am sorry to say that we had to block Scratchteam (talk | contribs) because they were being very inappropriate.
-User1

Really? I think you blocked the wrong person. Scratchteam is a bureaucrat.
-User2
Oh no! I must have chosen the wrong dropdown option!
-User1