MastheadRightsBadge

MastheadRightsBadge is a script that adds avatar badges from the Fandom Design System to users' global mastheads on a wiki. It also makes the avatar round, to be consistent with the Fandom Design System. A list of supported user groups can be found below.
== ==
== Supported groups ==
Supported user groups are listed here, in hierarchical order. For example, if Foobar123 was an admin and a SOAP member, an admin badge would show up on their profile.
* 
* 
* 
* 
== Customization ==
The badge's container can be customized via CSS using the .mastrightsbadge class. Each individual badge can be customized with its own class as well:
* .mastrightsbadge.mastrightsbadge-sysop
* .mastrightsbadge.mastrightsbadge-content-moderator
* .mastrightsbadge.mastrightsbadge-threadmoderator
* .mastrightsbadge.mastrightsbadge-staff
* .mastrightsbadge.mastrightsbadge-soap
* .mastrightsbadge.mastrightsbadge-global-discussions-moderator
Custom user groups are unsupported at this time.
== ==
The script offers a size option for the badge. Variables are stored in the window.MastheadRightsBadgeSettings object.
Key 	 	Possible values	Default
iconSize	Icon size.	CSS size values	50px
The following is an example.
window.MastheadRightsBadgeSettings = {
 iconSize: '60px',
};