FANDOM


(Replaced content with "<span class="qaywsx">username</span> Category:Templates")
Line 1: Line 1:
 
<span class="qaywsx">username</span>
 
<span class="qaywsx">username</span>
----
 
   
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, <nowiki>{{USERNAME|foo}}</nowiki> outputs "foo" if the user is not logged in.
 
 
'''Use this template sparingly. Misuse of it may result in a ban.'''
 
 
For example, the following is ''not'' acceptable: <nowiki>{{USERNAME}} is an idiot.</nowiki>
 
 
See also:
 
{| class="wikitable" cellpadding="3" width="66%"
 
|+
 
!Code
 
!Gives
 
|+
 
|<nowiki>[[Special:Mypage|{{USERNAME}}]]</nowiki>
 
|[[Special:Mypage|{{USERNAME}}]]
 
|+
 
|<nowiki>[[Special:Mytalk|{{USERNAME}}'s talkpage]]</nowiki>
 
|[[Special:Mytalk|{{USERNAME}}'s talkpage]]
 
|+
 
|<nowiki>[[Special:Mycontributions|{{USERNAME}}'s Contribs]]</nowiki>
 
|[[Special:Mycontributions|{{USERNAME}}'s Contribs]]
 
|}
 
<!-- Copied from MLNWiki -->
 
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 13:40, August 8, 2019

username

Community content is available under CC-BY-SA unless otherwise noted.