Modulo:Immagine multipla: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 6:
end
local function renderImageCell(image, width, height, link, alt, caption, textalign, istyle)
local root = mw.html.create('')
Riga 119:
return ''
end
-- create an array with the number of images per row
if dir == 'vertical' or dir == 'verticale' then
Riga 256:
imagediv:css('margin', '1px')
local i = imagenumbers[k]
local img = pargs['
local w = widths[k]
imagediv:css('width', tostring(2 + w) .. 'px')
:css('max-width', tostring(2 + w) .. 'px')
imagediv:wikitext(renderImageCell(img, w, heights[k],
pargs['
pargs['
end
end
|