Template:USERNAME

Displays the username of the user viewing the page.

If the user is not logged in, then the template will display "User" by default. You can control this by adding a parameter to the template with a value of the default text. For example, outputs "foo" if the user is not logged in. See also:

This is from the source of CoC Wiki, has no credit in it.