Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 00:05, 17 May 2020 by commons>Voidxor (What does "choose the effective" even mean?)

Link to a user, either internal or interwiki

  • For users without a user page you may link to their talk page with {{Ut}}.
  • For links to users of the German Wikipedia, use {{Ud}}.

Usage

{{U |1= }}

Many users have only a User Talk page but no User page on Commons. This results in a red link with the standard linking [[User:UserName]].
An easy edit to fix this link is just to change the {{U| to {{Ut| to link the user talk page with the user name.

Another reason for a redlink may result of changing the user name by the postfix "~commonswiki".
An easy edit to fix this link is just to change it to {{Uw| to link the new user page with the user name,
or to the talk page with {{Uwt| when only this one exists.

Sometimes neither user page nor the user talk page exist on Commons.

  • The Template:Uc checks whether the user page exists, and links to it if yes.
Otherwise it checks whether the user talk page exists, and links to it if yes.
Otherwise it links to the special page "user contributions" that lists the editor's contributions on Commons.
If the other pages are created later, it automatically prefers the talk page over the user page.
Since existence checks are not possible in other Wikipedias, these checks are performed only when no language code is specified.

This template pings the mentioned user like a normal page link. To not ping the user, see {{Noping}}.

Template parameters

ParameterDescriptionDefaultStatus
1user name: it is recommended to define the user name.
If absent, the name is shown of the last editing user
emptyoptional
2nick name: display text, may be formatted wikitext or htmlemptyoptional
3language code: for interwiki link. If absent, link to user entry in the Commonsemptyoptional
4+ or - to precede the user name with the namespace User:
+ ("plus" sign) to make User: a part of the link,
- ("minus" sign) to precede User: as plain text;

(if both signs are specified, "+" is used and "-" is ignored)

The +/- parameter can as well be specified with parameter 2 or 3.
emptyoptional
linkspecify link=no to suppress the linkemptyoptional
0
more parameters to format the namespace (when "+" or "-" is specified)
» not every possible combination of parameter values is useful «
0optional
casefor formatting of the namespace:
  • case=l display "user" instead of "User"
  • case=i display the national translation, in general a link
  • case=n display the national translation without linking it
emptyoptional
i18nan ISO 639 language code, to follow another translation then yours
when parameter setting is case=i or case=n
enoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Relies on:
Main template code {{U/main}}

Example

Instead of [[User:Konstantinopoulosstephanopoulos|Konstantinopoulosstephanopoulos]]
write just {{U|Konstantinopoulosstephanopoulos}} 0for the same output Konstantinopoulosstephanopoulos

Localization

This template is not intended to be localized.

The template does not generate any localizable text; with + or - always the namespace in English: "User" is displayed; only in

combination with case=i or case=n the namespace can be translated using the "{{LangSwitch}}" construct (according to lang).
Table: different displays for {{U}} with the namespace option 0
{{ Uusername }} 0this is the standard username
{{ Uusername- }} User:username
{{ Uusername-case = l }} user:username
{{ Uusername-case = i }} user:username
{{ Uusername-case = n }} user:username
{{ Uusername+ }} User:username
{{ Uusername+case = l }} user:username
{{ Uusername+case = i }} user:username
{{ Uusername+case = n }} user:username
{{ Uusernamelink = n }} ‍username
{{ Uusername-link = n }} User:‍username
{{ Uusername-link = ncase = l }} user:‍username
{{ Uusername-link = ncase = i }} user:‍username
{{ Uusername-link = ncase = n }} user:‍username
{{ Uusername+link = n }} User:‍username
{{ Uusername+link = ncase = l }} user:‍username
{{ Uusername+link = ncase = i }} user:‍username
{{ Uusername+link = ncase = n }} user:‍username

[edit ] {{Commons:Link templates/User and user talk links}}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.