User:Ireithien/wikia.js

function addMastheadTags {

var rights = {}; var ajax = "Ajax Rollback"; var mino = "Minotaur"; var obi = "King under the mountain"; var sam5 = "Dark Lord"; var CM = "Moderator"; var klin = "Moderator"; var LC = "Moderator and rollback"; var keps = "Velika"; var padme = "Nya"; var gord = "Evil"; var jedi = "Awesomeness";

rights["Legocityfan119"]  = ajax; rights["Jdude420"]  = mino; rights["Obi the LEGO Fan"]  = obi; rights["Samed5"]  = sam5; rights["Apple123350"]  = CM; rights["Klintrin"]  = klin; rights["InvisibleHunter"]  = LC; rights["Keplers"]  = keps; rights["Padmec3po"]  = padme; rights["Gordax"]  = gord; rights["Ireithien"]  = jedi;

if (typeof rights[wgTitle] != "undefined") { $('.UserProfileMasthead .masthead-info span.tag').remove;

$(".masthead-info hgroup").append(rights[wgTitle]) } }; $(function { if ($('#UserProfileMasthead')) {  addMastheadTags; } });