Module:InfoBoxEntity
From SWEE.codes wiki
More actions
Documentation for this module may be created at Module:InfoBoxEntity/doc
local capiunto = require 'capiunto'
local p = {}
function p.main(frame)
	local args = frame:getParent().args
	local retval = capiunto.create( {
		title = args.title,
		headerStyle = 'background-color:#232323;',
		bodyStyle = 'background-color:#232323; color: white;',
	} )
	:addImage( args.image, args.caption )
	:addRow( 'Made in', args.releasedate )
	:addRow( 'Platform(s)', args.platform )
	:addRow( 'License', args.license )
	:addRow( 'Created by', args.dev )
	
	return retval
end
return p
