Template:User/Documentation

Template page

This template provides an easy way to link to wiki users.

To link to a wiki user, you can't just use [[Thumper]], because that links to the page "Thumper" in the main namespace, not the user namespace. To link to "Thumper" in the user namespace, you have to do [[User:Thumper]]. Unfortunately, that produces the following, rather ugly, result: User:Thumper. To get a clean link, you would have to do: [[User:Thumper|Thumper]]. That will give you what you probably want: Thumper.

But that's rather complicated, hard to remember, and easy to screw up. Hence, this template, which allows you to do just {{user|Thumper}}, and it generates: Thumper.

Usage

To link to any user, just use:

{{user|<user>}}

Where <user> is the user's wiki name.

If the user's page does not exist (or if you use a non-existent user name), you'll get a red link.

Alternate link text

Sometimes you want to link to a user, but you don't actually want the link text to be the user's name. This template has a second, optional parameter that allows you to do that.

For example, you can write {{user|Thumper|a link to the wiki's resident super genius}}, and it will produce a link to the wiki's resident super genius. If you check that link, you will see it takes you to Thumper's user page.

Examples

Code Result
{{user|Thumper}} Thumper
{{user|Cyclops}} Cyclops
{{user|Thumper|link text (the link will go to Thumper's user page)}} link text (the link will go to Thumper's user page)