17,105
edits
mNo edit summary |
mNo edit summary |
||
Line 139: | Line 139: | ||
local ZeroIfNil = args.ForceZero ~= nil and args.ForceZero ~= '' and args.ForceZero ~= 'false' | local ZeroIfNil = args.ForceZero ~= nil and args.ForceZero ~= '' and args.ForceZero ~= 'false' | ||
local formatNum = args.formatNum ~= nil and args.formatNum ~= '' and args.formatNum ~= 'false' | local formatNum = args.formatNum ~= nil and args.formatNum ~= '' and args.formatNum ~= 'false' | ||
local item = p.getItem(ItemName) | local item = p.getItem(ItemName, true) | ||
if item == nil then | if item == nil then | ||
return "ERROR: No item named "..ItemName.." exists in the data module[[Category:Pages with script errors]]" | return "ERROR: No item named "..ItemName.." exists in the data module[[Category:Pages with script errors]]" |