Module:FeederInfobox: Difference between revisions
m
image not required
m (order & redesc) |
m (image not required) |
||
Line 17: | Line 17: | ||
imageStyle = "text-align: center;", | imageStyle = "text-align: center;", | ||
}) | }) | ||
retval:addImage("[[File:" .. args.image .. "|300px]]", args.caption) | if args.image then retval:addImage("[[File:" .. args.image .. "|300px]]", args.caption) end | ||
retval:addRow("Original Name", args.name_zh or "Unknown") | retval:addRow("Original Name", args.name_zh or "Unknown") | ||
if args.other_names then retval:addRow("Also known as", args.other_names) end | if args.other_names then retval:addRow("Also known as", args.other_names) end |