Jump to content

Module:Infobox: Difference between revisions

From SFFA Wiki
Initial
(No difference)

Revision as of 01:46, 18 April 2025

Documentation for this module may be created at Module:Infobox/doc

local p = {}

function p.base_infobox(frame)
	local base_infobox = mw.html.create('table')
		:css()
		:tag(tr)
			:tag('th')
				:wikitext('Header')
			:done()
			:tag('tr')
				:tag('td')
					:wikitext("body")
				:done()
			:done()
			
	return tostring(base_infobox)
end

return p