Module:CatInfobox: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 15: Line 15:
headerStyle = headerStyle,  
headerStyle = headerStyle,  
})
})
retval:addImage("[[File:" .. args.image .. "]]", args.caption)
retval:addImage("[[File:" .. args.image .. "|200px]]", 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")