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 | |||
-- Section title | |||
add_group_header(box, 'Description') | |||
-- Section content | |||
local tr = box:tag('tr') | |||
tr:tag('td') | |||
:attr('colspan','2') | |||
:addClass('ooo-infobox__muted') | |||
:wikitext(caption) | |||
end | end | ||