Template:Username/doc

Displays the username of the user viewing the page. To use it, simply add  anywhere on the desired page.

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

The JS for this template can be found at MediaWiki:Common.js

'''Use this template sparingly. Do not use it to threaten or attack other users. For example, " is an idiot" is unacceptable.'''