Module:CatInfobox: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 15: Line 15:
headerStyle = headerStyle,
headerStyle = headerStyle,
captionStyle = "text-align: center;",
captionStyle = "text-align: center;",
imageStyle = "margin: auto; width: 50%;",
imageStyle = "text-align: center;",
})
})
retval:addImage("[[File:" .. args.image .. "|200px]]", args.caption)
retval:addImage("[[File:" .. args.image .. "|300px]]", 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")