RiceEmpress (talk | contribs) No edit summary |
RiceEmpress (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
if args.eye_colour or args.hair_colour or args.height then | |||
infobox:addHeader( 'Physical' ) | |||
for _, row in ipairs(physical) do | |||
local label, value = row[1], row[2] | |||
if value then | |||
infobox:addRow(label, value) | |||
end | |||
end | end | ||
end | end | ||
Revision as of 12:53, 3 June 2025
Documentation for this module may be created at Module:Character Infobox/doc
if args.eye_colour or args.hair_colour or args.height then infobox:addHeader( 'Physical' ) for _, row in ipairs(physical) do local label, value = row[1], row[2] if value then infobox:addRow(label, value) end end end