Anonymous

Module:Shared: Difference between revisions

From Melvor Idle
Remove unused functions (that shouldn't be used from a template)
mNo edit summary
(Remove unused functions (that shouldn't be used from a template))
Line 259: Line 259:
function p.formatnum(number)
function p.formatnum(number)
return numModule.formatnum(number)
return numModule.formatnum(number)
end
function p.formatNumber(frame)
local number = frame.args ~= nil and frame.args[1] or frame
return p.formatnum(number)
end
end


Line 531: Line 526:
      
      
     return result
     return result
end
function p.replace(frame)
local args = frame:getParent().args
return p._replace(
frame.args[1],
frame.args[2] or '',
frame.args[3] or '')
end
end


2,874

edits