1,124
edits
Line 14: | Line 14: | ||
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')) | ||
table.insert(rowGroup, k, object) | |||
mw.log(rowGroup[k]) | |||
if k ~= objects then | if k ~= objects then | ||
object | object = mw.html.create('span') | ||
:addClass('bundle-joiner') | :addClass('bundle-joiner') | ||
:wikitext('+') | :wikitext(' + ') | ||
end | end | ||
table.insert(rowGroup, k, object) | table.insert(rowGroup, k+0.5, object) | ||
mw.log(rowGroup[k]) | mw.log(rowGroup[k+0.5]) | ||
end | end | ||
result:wikitext(tostring(rowGroup)) | result:wikitext(tostring(rowGroup)) |