Module:InfoboxNeue/example

local p = {} local mInfobox = require( 'Module:InfoboxNeue' )

function p.doStuff local infoboxTable = {} local sectionTable = {}

infoboxTable = { mInfobox.renderImage( 'Fury Landed in Port Tressler - Blurred BG.jpg' ), mInfobox.renderIndicator( {			data = 'Flight ready',			desc = 'Since Alpha 3.19.0',			class = 'infobox-indicator--success'		} ), mInfobox.renderHeader( {			title = 'Fury',			subtitle = 'Mirai (MRAI)'		} ) }	sectionTable = { mInfobox.renderItem( {			label = 'Role',			data = 'Snub fighter'		} ), mInfobox.renderItem( {			label = 'Hangar size',			data = 'Tiny (S1/XXS)'		} ), mInfobox.renderItem( {			label = 'Series',			data = 'Fury'		} ) }	table.insert(		infoboxTable,		mInfobox.renderSection( { content = table.concat( sectionTable ), col = 2 } )	)	sectionTable = { mInfobox.renderItem( {			label = 'Crew',			data = '1'		} ), mInfobox.renderItem( {			label = 'Cargo',			data = '0 SCU'		} ), mInfobox.renderItem( {			label = 'Stowage',			data = '60K μSCU'		} ) }	table.insert(		infoboxTable,		mInfobox.renderSection( { title = 'Capacity', content = table.concat( sectionTable ), col = 3 } )	)

html = mInfobox.renderInfobox( table.concat( infoboxTable ), 'Fury' ) return html end return p