Module:Navbox: Difference between revisions
From Test Wiki
Content deleted Content added
refactoring |
fix string building |
||
| Line 9: | Line 9: | ||
local ret = {} |
local ret = {} |
||
function add(...) |
function add(...) |
||
local args = {...} |
|||
for i = 1, #args do |
|||
if args[i] then |
|||
table.insert(ret, args[i]) |
|||
end |
end |
||
end |
end |
||