Module:Crafting: Difference between revisions

Jump to navigation Jump to search
revert attempt at replacement
m (attempt at replacement in arguments #2)
(revert attempt at replacement)
Line 194: Line 194:


return spriteDiv
return spriteDiv
end
-- go through all args and replace all instances of "gm4:" with "gm4RP:"
function p.replaceRP( f )
local args = f.args
if #args == 0 then
return
end
local inputs = args[1]
for i = 1, #inputs do
inputs[i] = string.gsub(inputs[i], "gm4:", "gm4RP:")
end
return inputs
end
end




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

edits

Navigation menu