Module:PortableNavbox

-- local p = {}

local yesno = require('Dev:Yesno')

function p.main(frame) local args = frame:getParent.args local contents = { '') if args[1] then table.insert(contents, ' ') table.insert(contents, args[1]) table.insert(contents, ' ') end for k, v in ipairs(args) do       local i = tonumber(k) if i and v and i > 1 then i = i - 2 if i % 2 == 0 then table.insert(contents, ' ') end end end table.insert(contents, ' ') return frame:preprocess(table.concat(contents)) end

return p