Module:If empty: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
mNo edit summary
m (since this isn't implemented yet... just a quick test...)
Line 2: Line 2:


function p.main(frame)
function p.main(frame)
if table.len(frame.args) then return table.len(frame.args) end
for i=1,9,1 do
for i=1,9,1 do
if frame.args[tostring(i)] ~= nil and frame.args[tostring(i)] ~= '' then
if frame.args[tostring(i)] ~= nil and frame.args[tostring(i)] ~= '' then