Difference between revisions of "Module:Bundles"

Jump to navigation Jump to search
24 bytes added ,  19:56, 24 October 2021
no edit summary
Line 15: Line 15:
:wikitext(icon.icon(vs[1], vs[2], nil, 'no'))
:wikitext(icon.icon(vs[1], vs[2], nil, 'no'))
table.insert(rowGroup, k, object)
table.insert(rowGroup, k, object)
mw.log(rowGroup[k])
if k ~= objects then
if k ~= objects then
object = mw.html.create('span')
object = mw.html.create('span')
Line 22: Line 21:
end
end
table.insert(rowGroup, k+0.5, object)
table.insert(rowGroup, k+0.5, object)
mw.log(rowGroup[k+0.5])
end
end
result:wikitext(tostring(rowGroup))
result:wikitext(tostring(rowGroup))
for k, v in ipairs(rowGroup) do
mw.log(k .. ' - ' .. v .. '\n')
end
return result
return result
end
end

Navigation menu