Module:Sprite: Difference between revisions

Jump to navigation Jump to search
m
Maybe necessary fallback?
m (oops.)
m (Maybe necessary fallback?)
Line 122: Line 122:
if aliases[item].text then
if aliases[item].text then
self.__settings.text = aliases[item].text
self.__settings.text = aliases[item].text
end
end


Line 214: Line 215:
sprite:addClass(source.settings.classname)
sprite:addClass(source.settings.classname)
sprite:attr( "title", self.__settings.name )
sprite:attr( "title", self.__settings.name )
sprite:attr( "text", self.__settings.text )
if self.__settings.text then
sprite:attr( "text", self.__settings.text )
end


local styles =  self:calculateStyles()
local styles =  self:calculateStyles()
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu