Module:CatInfobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 15: Line 15:
headerStyle = headerStyle,  
headerStyle = headerStyle,  
})
})
retval:addImage(args.image, args.caption)
retval:addImage("[[File:" .. args.image .. "]]", args.caption)
if args.other_names then retval:addRow("Other name(s)", args.other_names) end
if args.other_names then retval:addRow("Other name(s)", args.other_names) end
retval:addRow("Breed", args.breed or "Unknown")
retval:addRow("Breed", args.breed or "Unknown")