Template:U/doc
Template page
More actions
Link to a user, either internal or interwiki
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".
- Otherwise it checks whether the user talk page exists, and links to it if yes.
- 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
{{Commons:Link templates/User and user talk links}}