Module:Sports table/sub

From blackwiki
< Module:Sports table
Revision as of 14:46, 30 October 2014 by blackwiki>CRwikiCA (Proper insertion)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Sports table/sub/doc

-- Subfunctions for this module that are called from the style modules
local ppp = {}

function ppp.colhead(ttt,width,text)
	-- For individual column headers
	local head_string = '! scope="col" width='..width..'|'..text..'\n'

	ttt.count = ttt.count+1
	table.insert(ttt.tab_text,head_string)
	
	return ttt
end

return ppp