Template:U

Use this template to link to a user's userpage&mdash;and if the userpage does not exist, the contributions are linked.

Syntax
produces a link to User:Foo's userpage. If Foo's userpage does not exist, the link goes to the contributions.

produces a link mentioned above with the text "Bar."