Template:USERNAME/doc


 * Description
 * Adds the username of the registered Wikia user who is viewing the page. If no user is logged in, the supplied alt text is displayed instead.


 * Syntax
 * alt text
 * Optional alt text is what is displayed when no user is logged in. If nothing is supplied as alt text, users will see " " when not logged in.


 * Examples
 * is the best.
 * Gives…
 * is the best.
 * If not logged in, you see…
 * is the best.


 * 's userpage is good too.
 * Gives…
 * 's userpage is good too.
 * If not logged in, you see…
 * Visitor's userpage is good too.


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

tl:Suleras:USERNAME

tl:Suleras:USERNAME/doc