Anonymous user
Module:Gallery: Difference between revisions
Jump to navigation
Jump to search
merge tracking
(Let's track cellwidth as well) |
(merge tracking) |
||
Line 18:
k:match('^alt%d+$') or k:match('^%d+$') then
-- valid
elseif k == 'captionstyle' then
tracking = tracking .. '[[Category:Pages using gallery with the captionstyle parameter]]'
else
-- invalid
Line 94 ⟶ 88:
local imageCount = math.ceil(#args / 2)
local cellWidth =
local imgHeight = tonumber(args.height) or 180
local lines = tonumber(args.lines) or 2
Line 102 ⟶ 96:
local img = trim(args[i*2 - 1] or '')
local caption = trim(args[i*2] or '')
local imgWidth =
local alt = args['alt' .. i] or ''
|