Module:If empty: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
function p.main(frame) |
function p.main(frame) |
||
for |
for i=1,9,1 do |
||
if frame.args[tostring( |
if frame.args[tostring(i)] ~= nil and frame.args[tostring(i)] ~= '' then |
||
return args[tostring( |
return args[tostring(i)] |
||
end |
end |
||
end |
end |