Module:Sandbox/ChaoticShadow/Song

local getArgs = require('Module:Arguments').getArgs local p = {}

local builder = require('Module:Sandbox/ChaoticShadow/InfoboxBuilder')

function p.main(frame) local args = getArgs(frame) -- local args = frame:getParent.args local infobox = builder.new; infobox:setName('bob') infobox:setParams{ { name = 'test1', func = '', default = 'ok' }, { name = 'test2', func = '', default = 'not ok' } }	infobox:setArgs(args) infobox:addRow{ { tag = 'th', content = 'Test' }, { tag = 'argtd', content = 'test1' } }	infobox:addRow{ { tag = 'th', content = 'Test2' }, { tag = 'argtd', content = 'test2' } }	:setWidth('300px') return mw.dumpObject(args[1]) .. ' '.. mw.dumpObject(infobox) .. ' ' 		..		infobox:tostring ..		infobox.name -- local t = frame:callParserFunction{ name = 'ns', args = -2 } -- local t2 = frame:callParserFunction{ name = 'ns', args = 2 } -- local root = mw.html.create('div') -- root:wikitext(frame:callParserFunction({ -- 	name = '#tag', -- 	args = { 'youtube', 'dy90tA3TT1c' } -- }))	-- return frame:callParserFunction({	-- 	name = '#tag',	-- 	args = { 'youtube', 'dy90tA3TT1c' }	-- }) -- return frame:callParserFunction({	-- 	name = '#tag',	-- 	args = {'tabber', 'A=Test|-|B=Test2' }	-- }) -- return tostring(root) --return t .. t2 end

return p