Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154
edits
(the issue is in another caste) |
(oof) |
||
Line 42: | Line 42: | ||
end | end | ||
local d = require([[Module:InventorySlot]]).Decode(args[1]) | local d = require([[Module:InventorySlot]]).Decode(args[1]) | ||
if not(d) then error(d) end | |||
return d:SetSize(16) | return d:SetSize(16) | ||
:GenerateHTML() | |||
:addClass( "catalyst" ) | |||
end | end | ||
Line 55: | Line 56: | ||
local sprite | local sprite | ||
local image = args['image'] or args['Image'] | |||
if image then | if image then | ||
local Sprite = require([[Module:Sprite]]) | local Sprite = require([[Module:Sprite]]) | ||
sprite = Sprite.Custom:new(args[1], image) | sprite = Sprite.Custom:new(args[1], image) | ||
edits