Fandom

Wikia Developers Wiki

CSSMessageWallTags

908pages on
this wiki
Add New Page
Talk0 Share

CSSMessageWallTags allows you to add a customizable "tag" to messages and forum posts by a specified user. It can be used to distinguish administrators, bureaucrats, the wiki's founder etc. It can be used for any purpose.

Note: There is a Javascript alternative to this script.

Code

Add this code to Special:CSS or another CSS page.

.Wall .edited-by a[href$="Username"] ~ .subtle::after {
  content: " (Tag)";
}

Customization

You can use the code below to customize it. Please add it to Special:CSS or another CSS page to let it work.

.Wall .edited-by a[href$="Lythronax"] ~ .subtle::after {
  content: " (Casualty Wiki Admin)";
}

This results in:

CSSMessageWallTags

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.