Forum:Adding User Group boxes help

Is there anything wrong with the below code? It works on Terraria Wiki. Thanks. -- 18:20, February 5, 2012 (UTC)
 * Bump -- 23:37, February 7, 2012 (UTC)
 * More context would be helpful. Like, what is the code supposed to do? Is there any CSS that needs to go with it? Were did you put the code on your wiki? Where does the code live on the wiki where it works?
 * It looks like it's supposed to change the label on user profiles. -- Fandyllic (talk &middot; contr) 8 Feb 2012 4:03 PM Pacific
 * Should look like this. -- 01:01, February 9, 2012 (UTC)
 * BUMP -- 12:34, February 9, 2012 (UTC)
 * It looks like the code can't be used directly, but as an import. I put a version at User:Fandyllic/wikia.js/userRightsIcons.js and imported it in my User:Fandyllic/wikia.js like this:

 // Additional UserRights Icons in profile mastheads importScript('User:Fandyllic/wikia.js/userRightsIcons.js'); // END Additional UserRights Icons in profile mastheads
 * It worked for me. Try putting the code in a sub-page (like MediaWiki:wikia.js/userRightsIcons.js) and then import it from there like on the Terraria wiki. -- Fandyllic (talk &middot; contr) 9 Feb 2012 4:52 PM Pacific