Module:CatInfobox: Difference between revisions

+arg "feeders"
(will this work? idk)
(+arg "feeders")
Line 18: Line 18:
})
})
retval:addImage("[[File:" .. args.image .. "|300px]]", 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("Also known as", args.other_names) end
if args.other_names then retval:addRow("Feeder(s)", args.feeders) end
retval:addRow("Breed", args.breed or "Unknown")
retval:addRow("Breed", args.breed or "Unknown")
:addRow("Coat", args.coat or "Unknown")
:addRow("Coat", args.coat or "Unknown")
244

edits