Différences entre les versions de « Module:Bundles »

Aller à la navigation Aller à la recherche
Aucun changement de taille ,  24 octobre 2021 à 21:43
aucun résumé de modification
Ligne 6 : Ligne 6 :
currentRow = mw.text.split(currentRow, ';')
currentRow = mw.text.split(currentRow, ';')
objects = table.getn(currentRow)
objects = table.getn(currentRow)
result = mw.html.create('div')
result:addClass('bundle-row bundle-col-' .. objects)
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))
1 124

modifications

Menu de navigation