Module:Infobox
From Nookipedia, the Animal Crossing wiki
Documentation for this module may be created at Module:Infobox/doc
local p = {}
function p.rowCount(frame)
local count = 0
for k, v in pairs(frame:getParent().args) do
if string.sub(k, 1, 4) == 'data' then
count = count + 1
end
end
return count
end
return p