Module:OOOInfoBox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 213: | Line 213: | ||
if caption and caption ~= '' then | if caption and caption ~= '' then | ||
box:tag('tr') | |||
:tag('td') | |||
:addClass('ooo-infobox__caption') | |||
:attr('colspan','2') | |||
:wikitext('Description: ' .. caption) | |||
end | |||
-- ------------------------------------------------------------------------- | -- ------------------------------------------------------------------------- | ||
| Line 224: | Line 224: | ||
-- ------------------------------------------------------------------------- | -- ------------------------------------------------------------------------- | ||
add_group(box,'General',{ | add_group(box,'General Information',{ | ||
{'Art Number', art}, | {'Art Number', art}, | ||
{'Category', pick(args,data,'category')}, | {'Category', pick(args,data,'category')}, | ||
| Line 275: | Line 275: | ||
add_group(box,'Dimensions',{ | add_group(box,'Dimensions',{ | ||
{'Overall', join_dims(size_w,size_l,size_h,U.m), 'Width × Length | {'Overall (W × H × L)', join_dims(size_w,size_l,size_h,U.m), 'Width × Height × Length'}, | ||
{'Note', size_note}, | {'Note', size_note}, | ||
}) | }) | ||