Module:If empty: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
test
m (revert test... don't quite get it right now)
m (test)
Line 2:
 
function p.main(frame)
for i=1,9,1 do
if frame.args[tostring(i)] ~= nil and frame.args[tostring(i)] ~= '' then
return frame.args[tostring(i)]
end
end
for _,v in ipairs(require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})) do
if v ~= '' then
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu