Module:Crafting: Difference between revisions

Jump to navigation Jump to search
oof
(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()
:GenerateHTML()
:addClass( "catalyst" )
: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]])
local image = args['image'] or args['Image']
sprite = Sprite.Custom:new(args[1], image)
sprite = Sprite.Custom:new(args[1], image)


Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154

edits

Navigation menu