Jump to content

Module:Navbox: Difference between revisions

fix string building
m>Toohool
(refactoring)
m>Toohool
(fix string building)
Line 9: Line 9:
local ret = {}
local ret = {}
function add(...)
function add(...)
     for i, s in ipairs({...}) do
     local args = {...}
         if s then
    for i = 1, #args do
             table.insert(ret, s)
         if args[i] then
             table.insert(ret, args[i])
         end
         end
     end
     end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.