Module:Tab

local Util = require 'Module:Util'

local tabber = function (all_tabs) local div = mw.html.create('div'):addClass('fehwiki-tabber') for _, v in ipairs(all_tabs) do		div:tag('div'):addClass('fehwiki-tab-header'):wikitext(tostring(v[1])) content = tostring(v[2]) if not Util.isNilOrEmpty(content) then div:wikitext(content) end end return div end

return {tabber = tabber}