Difference between revisions of "Module:Infobox"

Jump to navigation Jump to search
14 bytes added ,  18:11, 11 August 2022
no edit summary
Line 50: Line 50:
headerData:addClass('infobox-header')
headerData:addClass('infobox-header')
:wikitext(header)
:wikitext(header)
result:insert(headerData)
table.insert(result, headerData)
end
end
if rows then
if rows then
Line 58: Line 58:
rowData:addClass('infobox-row ' .. rows)
rowData:addClass('infobox-row ' .. rows)
:node(data)
:node(data)
result:insert(rowData)
table.insert(result, rowData)
end
end

Navigation menu