Module:Crafting: Difference between revisions

no edit summary
(typo)
No edit summary
Line 32: Line 32:
end
end


function p.Arrow( f )
function p.Catalyst( f )
local args = f.args
local args = f.args
if #args == 0 then
if #args == 0 then
args = f:getParent().args
args = f:getParent().args or {""}
end
end
return require([[Module:Sprite]])
return require([[Module:Sprite]])
:new("crafting_arrow")
:new("inventory")
:setItem(mw.text.trim(args[1]))
:setItem(mw.text.trim(args[1]))
:GenerateHTML()
:GenerateHTML()
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154

edits