Module:CatInfobox: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 13: Line 13:
local retval = capiunto.create({
local retval = capiunto.create({
title = args.name,
title = args.name,
headerStyle = headerStyle,  
headerStyle = headerStyle,
captionStyle = "text-align: center;",
imageStyle = "display: flex; justify-content: center;",
})
})
retval:addImage("[[File:" .. args.image .. "|200px]]", args.caption)
retval:addImage("[[File:" .. args.image .. "|200px]]", args.caption)