Module:Gallery: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(preview message)
(Let's track cellwidth as well)
Line 14: Line 14:
if k and type(k) == 'string' then
if k and type(k) == 'string' then
if k == 'align' or k == 'state' or k == 'style' or k == 'title' or
if k == 'align' or k == 'state' or k == 'style' or k == 'title' or
k == 'cellwidth' or k == 'width' or k == 'height' or k == 'lines' or
k == 'width' or k == 'height' or k == 'lines' or
k == 'footer' or k == 'perrow' or
k == 'footer' or k == 'perrow' or
k:match('^alt%d+$') or k:match('^%d+$') then
k:match('^alt%d+$') or k:match('^%d+$') then
-- valid
-- valid
elseif k == 'cellwidth' then
tracking = tracking .. '[[Category:Pages using gallery with the cellwidth parameter]]'
elseif k == 'captionstyle' then
elseif k == 'captionstyle' then
tracking = tracking .. '[[Category:Pages using gallery with the captionstyle parameter]]'
tracking = tracking .. '[[Category:Pages using gallery with the captionstyle parameter]]'