FANDOM


/*********************************/
/*    User Rights Chat Icons     */
/*********************************/

/* Administrators */
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after {
    background: url("image")!important;
    background-size: 16px 16px !important;
    background-repeat: no-repeat !important;
}

/* Rollback Users */
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after {
    background: url("image")!important;
    background-size: 16px 16px !important;
    background-repeat: no-repeat !important;
}

/* Chat Moderators */
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after,
.ChatWindow [data-user="username"] .username:after {
    background: url("image")!important;
    background-size: 16px 16px !important;
    background-repeat: no-repeat !important;
}

How to Use:

In order to use the code; add the following line to your Wikis Wikia.css or Common.css:

@import "http://fallenshadow.wikia.com/index.php?title=User:FallenShadow/UserRightsIcons.css&action=raw&ctype=text/css";

Known Issues & Bugs:

Other users will be able to see the icon next to your name in the sidebar; but you cannot see it yourself. Instead, you see a star: This is due to the way Wikia has the elements coded. This can only be fixed by having all administrators, moderators, and rollback users share the one icon. Otherwise it is currently unfixable, and icons have to be hard-coded for each individual.

Colons appear beside the usernames of administrators, moderators and rollback users: This is caused by Wikia rendering the colon commonly found beside usernames and the icon on top of it. This can be fixed by using the Remove Chat Colon CSS script.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.