Template:USERNAME/doc


 * Description
 * Adds the username of the registered user viewing the page into the page.
 * Additionally, if specified, anonymous users will instead view preset content - demarcated by a pipe: altcontent
 * Uses Javascript to replace contents in span with viewing username:


 * Dependencies
 * This template requires you to add the following to your MediaWiki:Common.js:


 * Syntax
 * Type  somewhere.


 * Sample output
 * gives...
 * gives...

is the best. 's userpage is good too.
 * The user reading will always see a compliment directed toward them and their userpage, no matter who they are.