• Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "User talk:TheRogue995"

Wikisimpsons - The Simpsons Wiki
Line 23: Line 23:
 
You need to add the following code to your [[MediaWiki:Common.js]]:
 
You need to add the following code to your [[MediaWiki:Common.js]]:
  
<code>
+
<pre>
 
/** Username replace function ([[template:USERNAME]]) *******************************
 
/** Username replace function ([[template:USERNAME]]) *******************************
 
   * Inserts user name into <span class="insertusername"></span>
 
   * Inserts user name into <span class="insertusername"></span>
Line 38: Line 38:
 
}
 
}
 
addOnloadHook( UserNameReplace );
 
addOnloadHook( UserNameReplace );
</code>
+
</pre>
  
 
☆<span style="font-family:Algerian">[[User:Solar Dragon|<span style="color:green">The</span>]] [[User talk:Solar Dragon|<span style="color:red">Solar</span>]] [[Special:Contributions/Solar Dragon|<span style="color:blue">Dragon</span>]]</span>☆ 22:04, 30 November 2010 (UTC)
 
☆<span style="font-family:Algerian">[[User:Solar Dragon|<span style="color:green">The</span>]] [[User talk:Solar Dragon|<span style="color:red">Solar</span>]] [[Special:Contributions/Solar Dragon|<span style="color:blue">Dragon</span>]]</span>☆ 22:04, 30 November 2010 (UTC)

Revision as of 17:04, November 30, 2010

Welcome!

Wiki.png

Hello, TheRogue995, and welcome to Wikisimpsons!

Thank you for your edits to User:TheRogue995 and taking interest in our wiki. If you have any troubles, feel free to ask questions on my talk page or any other any experienced editors' talk page. Also, you could look at a help page.

Here are a few pages to help out new editors such as yourself:

Please note, any spam comments and editing to get badges will result in an instant block.

Please sign your name on talk pages by using four tildes (~~~~). This will automatically produce your name and the date. Signing your comments is important, as it lets other editors know who has posted which comments.

Again, welcome!
---- Kingcjc (Talk) 22:09, 2010 November 5

Username template

You need to add the following code to your MediaWiki:Common.js:

/** Username replace function ([[template:USERNAME]]) *******************************
  * Inserts user name into <span class="insertusername"></span>
  */
function UserNameReplace() {
	if( typeof( disableUsernameReplace ) != 'undefined' && disableUsernameReplace || wgUserName == null ) {
		return;
    }
	var spans = getElementsByClass( 'insertusername', null, 'span' );
 
	for( var i = 0; i < spans.length; i++ ) {
		spans[i].innerHTML = wgUserName;
	}
}
addOnloadHook( UserNameReplace );

The Solar Dragon☆ 22:04, 30 November 2010 (UTC)