Editing Module:Transclusion count
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 29: | Line 29: | ||
if return_value == nil and frame.args[1] ~= nil then | if return_value == nil and frame.args[1] ~= nil then | ||
local arg1=mw.ustring.match(frame.args[1], '[%d,]+') | local arg1=mw.ustring.match(frame.args[1], '[%d,]+') | ||
if | if arg1 ~= '' then | ||
return_value = tonumber(frame:callParserFunction('formatnum', arg1, 'R')) | return_value = tonumber(frame:callParserFunction('formatnum', arg1, 'R')) | ||
end | end |