Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154
edits
m (Shouldn't help so frick) |
(Should now add `invslot` to html item slots) |
||
Line 60: | Line 60: | ||
else | else | ||
slot = mw.html.create("div") | slot = mw.html.create("div") | ||
end | |||
slot:addClass( "invslot" ) | |||
if self.__large then | |||
slot:addClass( "invslot-large") | |||
end | end | ||
if self.__html then | if self.__html then | ||
slot:wikitext(self.__html) | |||
end | end | ||
if self.__sprite then | if self.__sprite then | ||
self.__sprite:GenerateHTML(slot) | |||
end | end | ||
return slot | return slot |
edits