Module:IBox

local p = {} function p.row(frame) local args = frame:getParent.args if args.condition == nil then return '' end

local tr = mw.html.create('tr') if args.class then tr:addClass(args.class) end

local th = mw.html.create('th'):wikitext(args.label) if args.labelclass then th:addClass(args.labelclass) end

local td = mw.html.create('td'):wikitext(args.value or args.default) if args.valueclass then td:addClass(args.valueclass) end end return p