Module:Sprite: Difference between revisions

Jump to navigation Jump to search
m
Only combine if title is a color code
m (Proper tooltip name?)
m (Only combine if title is a color code)
Line 120: Line 120:
function Sprite:setItem(item)
function Sprite:setItem(item)
     if aliases[item] then
     if aliases[item] then
        self.__settings.name = aliases[item].title .. aliases[item].name
if #aliases[item].title == 2 then
        self.__settings.name = aliases[item].title .. aliases[item].name
else
self.__settings.name = aliases[item].title
end
self.__settings.text = aliases[item].text
self.__settings.text = aliases[item].text
     else
     else
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu