Module:PortableNavbox

-- local p = {}

local yesno = require('Module:Yesno') local title = mw.title.getCurrentTitle

function p.main(frame) local args = frame:getParent.args local contents = { '') if args[1] then table.insert(contents, ' ') table.insert(contents, mw.text.trim(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, ' ') contents = table.concat(contents) if       title.namespace ~= 829 or        title.subpageText ~= 'testcases' then contents = frame:preprocess(contents) end return contents end

return p