Board Thread:Support Requests - Getting Technical/@comment-28931162-20170124021128/@comment-25024589-20170124022144

Robotguy39 wrote: Disnickfanatic wrote: Hello,

That template is driven by JavaScript.

The JavaScript code is: $( '.username' ) .text ( mw.config .get ( 'wgUserName' ) ) ; and the template code is: <span <span class="kw3" style="color:rgb(0,0,102);">class <span class="sy0" style="color:rgb(102,204,102);"> = <span class="st0" style="color:rgb(255,0,0);">"username" ><<span class="sy0" style="color:rgb(102,204,102);">/ <span class="kw2" style="font-weight:bold;color:rgb(0,0,0);">span > Hope this helps,

Disnickfanatic (talk) 02:13, January 24, 2017 (UTC) not quite sure i understand. where do i put in these codes? Trust, me, i'm usually good with this stuff, but, I'm also learning alot.
 * The JavaScript goes into your wiki's MediaWiki:Common.js. If JavaScript isn't enabled on your wiki, you can request for it to be enabled via Special:Contact/general.
 * The HTML/template code can either go in a template or directly onto a page. If you want to use the code multiple times, the former would be better,