Template:USERNAME/doc

Usage
This template will display the name of the logged in user, or "Anonymous user" if they are not logged in.

Pass an extra parameter to change the default, not logged in text.