Template:U

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:U/doc.

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 choose the effective {{Ud}}.

Usage

{{U |1= |2= |3= }}

Many users own in the Commons just a User Talk page, but no User page.

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".
If later the other pages are created, it prefers automatically the talk page or user page.
Since existence checks are not possible in other Wikipedias, these checks are performed only when no language code is specified.

Template parameters

Parameter Description Default Status
1 user name: it is recommended to define the user name.
If absent, the name is shown of the last editing user
empty optional
2 nick name: display text, may be formatted empty optional
3 language code: for interwiki link. If absent, link to user entry in the Commons empty optional

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

User and user talk links

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

{{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 · uploadsblock 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)

{{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)

{{trusted user|Username|section|archive #}}

Username ( talk | contribs | archived request )

{{botUser|Username}}

User:Username (contribs)

{{newbot|Username}}

taskscontribscountlogspage moves block userblock logflag logglobal contribs flag bot

{{checkuser|Username}}

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