Thread:RubberDuckie3/@comment-27874995-20170330000743/@comment-27874995-20170401082101

I made the USERNAME template, but it needs JavaScript to work, I want everyone on the wikia to see it, so could you add the following code to Common.js?

/* Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. */ function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); /* End of the replacement */

I got the code from the diep.io wikia, just to let you know. I hope admins can edit the JS of their wikia.