Changes
Jump to navigation
Jump to search
Module:Transclusion count (view source)
Revision as of 20:41, 29 September 2020
, 20:41, 29 September 2020add a truthy check too
if return_value == nil and frame.args[1] ~= nil then
local arg1=mw.ustring.match(frame.args[1], '[%d,]+')
if arg1 and arg1 ~= '' then return_value = tonumber(frame:callParserFunction('formatnum', arg1, 'R')) end
end