Module:CatInfobox: Difference between revisions
will this work? idk
No edit summary |
Vertvalerie (talk | contribs) (will this work? idk) |
||
Line 27: | Line 27: | ||
if args.personality then retval:addRow("Personality", args.personality) end | if args.personality then retval:addRow("Personality", args.personality) end | ||
retval:addRow("First known sighting", args.first_sighting or "Unknown") | retval:addRow("First known sighting", args.first_sighting or "Unknown") | ||
if args.partner or args.children or args.other_relations then | if args.partner or args.children or args.siblings or args.parents or args.other_relations then | ||
retval:addHeader("Relations") | retval:addHeader("Relations") | ||
:addRow("Parents", args.parents or "Unknown") | |||
:addRow("Siblings", args.siblings or "Unknown") | |||
:addRow("Partner", args.partner or "None") | :addRow("Partner", args.partner or "None") | ||
:addRow("Children", args.children or "None") | :addRow("Children", args.children or "None") |