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

Aller à la navigation Aller à la recherche
90 octets ajoutés ,  24 octobre 2021 à 19:54
aucun résumé de modification
Ligne 14 : Ligne 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:tag('span')
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))
1 124

modifications

Menu de navigation