Open main menu
Documentationviewedithistorypurge
This documentation is transcluded from Template:Uw/doc.

User page link, only within Commons, when user names are trailed with "~commonswiki"

Usage

{{Uw |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1user name, without the trailing "~commonswiki"emptyrequired
2display name (nick name): may be formattedparam #1optional
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
langan 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: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Example

{{Uw|Username}}

renders as:

Localization

This template is not intended to be localized.

More examples

{{ UwUsername- }} gives User:Username
{{ UwUsername+ }} gives User:Username
{{ UwUsernamecommons- }} gives User:commons
{{ UwUserComm~user-link = no }} gives User:‍Comm~user
{{ UwUserComm~user-link = nocase = l }} gives user:‍Comm~user

Table: different displays for {{Uw}} with the namespace option 0
{{ Uwusername }} 0this is the standard username
{{ Uwusername- }} User:username
{{ Uwusername-case = l }} user:username
{{ Uwusername-case = i }} user:username
{{ Uwusername-case = n }} user:username
{{ Uwusername+ }} User:username
{{ Uwusername+case = l }} user:username
{{ Uwusername+case = i }} user:username
{{ Uwusername+case = n }} user:username
{{ Uwusernamelink = n }} ‍username
{{ Uwusername-link = n }} User:‍username
{{ Uwusername-link = ncase = l }} user:‍username
{{ Uwusername-link = ncase = i }} user:‍username
{{ Uwusername-link = ncase = n }} user:‍username
{{ Uwusername+link = n }} User:‍username
{{ Uwusername+link = ncase = l }} user:‍username
{{ Uwusername+link = ncase = i }} user:‍username
{{ Uwusername+link = ncase = n }} user:‍username

User and user talk links

Important: Always specify the user names without the namespace
Code Result [1] Shortcut

{{U|Username}}

Username     links to user page

{{Ud|Username}}

Username     links to German user page =

{{Ut|Username}}

Username     links to user talk page

{{Uc|Username}}

Username     conditional link to contributions page

{{Uw|Username}}

Username     trails the given name with "~commonswiki"

{{Uwt|Username}}

Username     links to the talk page of "~commonswiki" user

{{U|Username|link=no}}

‍Username     does not link to user page
WWW Combinations:

{{Ult|Username}}

Username (talk)

{{User|Username}}

Username (talk · contribs)

{{Uv|Username|:en:}}

:en:Username (talk | contribs) ~

{{User2|Username}}

Username (talk · contributions · Number of edits)

{{User3|Username}}

Username (talk · contributions · Move log · block log · uploads · Abuse filter logblock user {{Vandal}}

{{User6|Username}}

Username (talk · contributions · Move log · Number of edits · logs · block log)

{{User7|Username}}

Username (talk · contributions · user rights management)

{{User8|Username}}

Username (talkcontribsblock logfilter log)

{{User13|Username}}

Username (talk · contribs · logs · block log)

{{User14|Username}}

Username (talk · contributions · deleted user contributions · recent activity · logs · block log · global contribs · SULinfo)

{{User21|Username}}

Username (talk · contribs · count · global contribs)

{{Userlinks|Username}}

Username (talk · contribs · deleted contribs · logs · edit filter log · block user · block log)

{{Admin|Username}}

Username (talk contribs blocks protections deletions moves rights rights changes) {{A}}

{{UserSUL|Username}}

Username (talk • contribs • rename user • SUL utility)

{{BotUser|Username}}

User:Username (contribs)

{{Newbot|Username}}

taskscontribscountlogspage moves block user block logflag logglobal contribsflag bot

{{Checkuser|Username}}

Username (talk contribs Luxo's SUL deleted contribs logs block user block log checkuser)
  1. Interwiki template: Interwiki access (with 3=language code)

Be aware that other templates may use the parameter "editor" or "by" for the same purpose.