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.

Template:U/doc: Difference between revisions

Template page
m test
m +link
Line 19: Line 19:
|usergroup=all
|usergroup=all
|placement=
|placement=
|usage-notes=Many users own in the Commons just a User Talk page, but no User page.  
|usage-notes=Many users own in the Commons just a User Talk page, but no User page.<br>
An easy edit to fix this link is to just change the <code><nowiki>{{U|</nowiki></code> to <code><nowiki>{{Ut|</nowiki></code> 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".<br>
An easy edit to fix this link is to just change it to <code><nowiki>{{Uw|</nowiki></code> to link to the new user page with the user name.
 
But sometimes neither user page nor user talk page exist. 
:The template {{Tl|Uc}} checks whether the user page exists, and links to it if yes.
:The template {{Tl|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 checks whether the user talk page exists, and links to it if yes.

Revision as of 11:07, 13 June 2017

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.
An easy edit to fix this link is to just 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 to just change it to {{Uw| to link to the new user page with the user name.

But sometimes neither user page nor user talk page exist.

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

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 formattedemptyoptional
3language code: for interwiki link. If absent, link to user entry in the Commonsemptyoptional

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

Localization

This template is not intended to be localized.

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