Difference between revisions of "Module:Bundles"

Jump to navigation Jump to search
8 bytes added ,  19:50, 24 October 2021
no edit summary
Line 11: Line 11:
for k, v in ipairs(currentRow) do
for k, v in ipairs(currentRow) do
vs = mw.text.split(v, '-')
vs = mw.text.split(v, '-')
mw.log(result)
object = mw.html.create('span')
object = mw.html.create('span')
:wikitext(icon.icon(vs[1], vs[2], nil, 'no'))
:wikitext(icon.icon(vs[1], vs[2], nil, 'no'))
Line 21: Line 21:
end
end
table.insert(rowGroup, k, object)
table.insert(rowGroup, k, object)
mw.log(rowGroup[k])
end
end
result:wikitext(tostring(rowGroup))
result:wikitext(tostring(rowGroup))

Navigation menu