10,975
editsAd placeholder
Module:IfEmpty: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary Tag: Manual revert |
No edit summary |
||
Line 3: | Line 3: | ||
function p.main(frame) | function p.main(frame) | ||
local args = getArgs(frame, { | local args = getArgs(frame, { wrappers = 'Template:IfEmpty' }) | ||
p._main(args) | |||
end | |||
for | function p._main(args) | ||
for i, v in ipairs(args) do | |||
if v ~= '' then | if v ~= '' then | ||
return v | return v |