Content deleted Content added
Start setting up for Template:Switcher style fallback mode for mobile, which doesn't support slideshow galleries |
can heights be set as a fallback for when the gallery is not turned into a slideshow? 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|heights=300px|class=switcher-container}}</div>'
return output
end
|