Module:Shared/Sandbox: Difference between revisions

no edit summary
(Created page with "-- Module that contains all functions regarding numeric formatting and calculations. -- TODO: Make modules that now call Shared call Number (for relevant functions) local numModule = require('Module:Number') --So there are a handful of functions that I'm using in a lot of places --So rather than continue to copy across the same handful of functions to every single new module --I'm just going to unify them here --Here's how you use this: -- 1. When you're making a new mo...")
 
No edit summary
 
Line 473: Line 473:
local args = frame:getParent().args
local args = frame:getParent().args


error(frame.args ~= nil and frame.args[1] or frame)
return p._replace(
return p._replace(
args[1],  
frame.args[1],  
args[2] or '',  
frame.args[2] or '',  
args[3] or '')
frame.args[3] or '')
end
end


return p
return p
2,875

edits