Module:Random slideshow/sandbox: Difference between revisions

Content deleted Content added
can heights be set as a fallback for when the gallery is not turned into a slideshow?
Tag: Reverted
maybe widths?
Tag: Reverted
Line 39:
local sortedLines = nonRandom and galleryLines or randomModule.main('array', randomiseArgs)
local galleryContent = table.concat(sortedLines, '\n')
local output = '<div class="' .. containerClassName .. '" style="max-width:' .. normaliseCssMeasurement(maxWidth) .. '; margin:-4em auto;">{{#tag:gallery|' .. galleryContent .. '|mode=slideshow|heightswidths=300px380px|class=switcher-container}}</div>'
return output
end