4,951
edits
Falterfire (talk | contribs) (Forcing rowCount to be a number) |
Falterfire (talk | contribs) (Also forcing startID to be a number) |
||
Line 310: | Line 310: | ||
local startID = frame.args ~= nil and frame.args[1] or frame[1] | local startID = frame.args ~= nil and frame.args[1] or frame[1] | ||
local rowCount = frame.args ~= nil and frame.args[2] or frame[2] | local rowCount = frame.args ~= nil and frame.args[2] or frame[2] | ||
if type(startID ) == 'string' then startID = tonumber(startID) end | |||
if rowCount == nil then rowCount = 200 end | if rowCount == nil then rowCount = 200 end | ||
if type(rowCount) == 'string' then rowCount = tonumber(rowCount) end | if type(rowCount) == 'string' then rowCount = tonumber(rowCount) end |