This page is protected against editing.


From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Example (talk · contribs)

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:User/doc.

Generates three link entries, either internal or interwiki: User page, user talk page, user contribution special page.


{{User |User= |2= |3= }}

Template parameters

2nick namenick name: display text, may be formattedparam. #1optional
3language codelanguage code: for interwiki linkcommonsoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.

Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.

Wikipedia's help about TemplateDataCommons-specific information

Generates three link entries, either internal or interwiki: User page, user talk page, user contribution special page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

nick name2

nick name: display text, may be formatted

param. #1
language code3

language code: for interwiki link

UsernameUser 1



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

See also


All parameter combinations

000 {{User}} → Example (talk · contribs) [1]

003 {{User|3=pt}} → Example (talk · contribs) [1]

020 {{User||display}} → display (talk · contribs)[1]

023 {{User||nickname|es}} → nickname (talk · contribs)[1]

100 {{User|Xclios}} → Xclios (talk · contribs)
U00 {{User|User=Xclios}} → Xclios (talk · contribs)

103 {{User|Xclios||it}} → Xclios (talk · contribs)
U03 {{User|User=Xclios|||it}} → Xclios (talk · contribs)

120 {{User|Xclios|Display name}} → Display name (talk · contribs)
U20 {{User|User=Xclios|2=Display name}} → Display name (talk · contribs)

123 {{User|Xclios|Display name|nl}} → Display name (talk · contribs)
U23 {{User|User=Xclios||Display name|nl}} → Display name (talk · contribs)

  1. a b c d It is recommended always to specify parameter #1, or "User="

User and user talk links

Code Result [1] Shortcut


Username     links to user page


Username     conditional link to contributions page


Username     links to German user page =
{{Ue|Username}} Username     links to English user page (not yet a template) =


‍Username     does not link to user page; no echo function


Username     links to user talk page


Username     trails the given name with "~commonswiki"


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


Username     Lua based list of one or more users {{ Ul }}
WWW Combinations:


Username (talk)Customizable template


Username (talk)


Username (talk · contribs)


:en:Username (talk | contribs) ~


Username (talk · contributions · Statistics)


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


Username (talk · contributions · Move log · Statistics · logs · block log)


Username (talk · contributions · user rights management)


Username (talkcontribsblock logfilter log)


Username (talk · contribs · logs · block log)


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


Username (talk · contribs · count · global contribs)


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


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


Username (talk • contribs • rename user)


Username (contribs)


taskscontribscountlogspage moves block user block logflag logglobal contribsflag bot


Username (talk contribs Luxo's SUL deleted contribs logs block user block log )
  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.