Jump to content

Module:Sandbox/CAS222222221

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 風中的刀劍 (talk | contribs) at 14:27, 16 July 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

local function td()
	local td = mw.html.create('td')
	td
		:wikitext('aaaaaaaaaaaaaa')
		
	return td
end

local function tr()
	local tr = mw.html.create('tr')
	tr
		:node(td)
		
	return tr
end

function p.main(frame)
	local args = getArgs(frame)
	return p._main(args)
end

function p._main(args)
	-- Main module code goes here.
	local tab = mw.html.create('table')
	tab:
		node(tr)
		
	return tab
end

return p