Module:Gallery: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(add optional perrow per request) |
No edit summary |
||
Line 47: | Line 47: | ||
local lines = tonumber(args.lines) or 2 |
local lines = tonumber(args.lines) or 2 |
||
local captionstyle = args.captionstyle |
local captionstyle = args.captionstyle |
||
⚫ | |||
for i = 1, imageCount do |
for i = 1, imageCount do |
||
Line 60: | Line 61: | ||
textWidth = cellWidth + 7 |
textWidth = cellWidth + 7 |
||
end |
end |
||
⚫ | |||
if img ~= '' then |
if img ~= '' then |
||
local imgTbl = mainCell.tag('table') |
local imgTbl = mainCell.tag('table') |