Module:Crafting: Difference between revisions

Jump to navigation Jump to search
Undo the attempt at making a resource pack replacement template
m (try just args[1])
(Undo the attempt at making a resource pack replacement template)
Line 195: Line 195:
return spriteDiv
return spriteDiv
end
end
-- replace "gm4:" with "gm4RP:" then pass to Grid
function p.GridRP( f )
local args = f.args[1]
if #args == 0 then
args = f:getParent().args
end
-- for i = 1, #args do
-- args[i] = string.gsub(args[i], "gm4:", "gm4RP:")
-- end
return Grid(args, args['width'] or args['Width'] or 3, args['height'] or args['Height'] or 3)
end


return p
return p
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,563

edits

Navigation menu