Template:USERNAME/doc

Displays the username of the user viewing the page.

If the user is not logged in, then the template will display &lt;insert name here>. 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.