1 124
modifications
| Ligne 6 : | Ligne 6 : | ||
currentRow = mw.text.split(currentRow, ';') | currentRow = mw.text.split(currentRow, ';') | ||
objects = table.getn(currentRow) | objects = table.getn(currentRow) | ||
rowGroup = {} | rowGroup = {} | ||
for k, v in ipairs(currentRow) do | for k, v in ipairs(currentRow) do | ||
| Ligne 25 : | Ligne 23 : | ||
mw.log(k .. ' - ' .. tostring(v) .. '\n') | mw.log(k .. ' - ' .. tostring(v) .. '\n') | ||
end | end | ||
result = mw.html.create('div') | |||
result:addClass('bundle-row bundle-col-' .. objects) | |||
result:wikitext(tostring(rowGroup)) | result:wikitext(tostring(rowGroup)) | ||