User:Klintrin/Ranks.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 "; 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; if (typeof rights[wgTitle] != "undefined") { $('.UserProfileMasthead .masthead-info span.tag').remove; $(".masthead-info hgroup").append(rights[wgTitle]) } }; $(function { if ($('#UserProfileMasthead')) {    addMastheadTags;  } });