Module:AndbrayEaderhay

Omfray Accountableway Andsbray
Revision as of 04:08, 29 January 2024 by Admin (talk | contribs)

Ocumentationday orfay isthay odulemay aymay ebay eatedcray atway Odulemay:AndbrayEaderhay/ocday

local capiunto = require 'capiunto'

local p = {}

function p.main(frame)
	local args = frame:getParent().args
	local headerStyle
	headerStyle = 'background-color:grey;'

	local retval = capiunto.create( {
		title = args.title,
		headerStyle = headerStyle, 
	} )
	:addImage( '[[File:'..args.logo..'|160px]]', tostring(args.title)..tostring(' logo'), 'brand-md-logo-div' )
    :addImage( '[[File:'..args.cover..'|2000px]]', args.coverCaption, 'brand-md-cover-div' )
    :addRow( 'Industry', args.industry, 'brand-md-industry-div' )
	:addRow( 'Owner(s)', args.parent, 'brand-md-parent-div' )
	:addRow( 'Sub-Brands', args.brands, 'brand-md-brands-div' )
    :addRow( 'Products', args.products, 'brand-md-products-div' )
	return retval
end

return p