Module:Gallery: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(update to sandbox version for mobile view per discussion on the talk page; please revert if this causes script errors or other complete failure) |
(ignore captionstyle = text-align:center as harmless) |
||
Line 19: | Line 19: | ||
-- valid |
-- valid |
||
elseif k == 'captionstyle' then |
elseif k == 'captionstyle' then |
||
if not v:match('^text%-align%s*:%s*center[;%s]*$') then |
|||
tracking = tracking .. '[[Category:Pages using gallery with the captionstyle parameter]]' |
tracking = tracking .. '[[Category:Pages using gallery with the captionstyle parameter]]' |
||
end |
|||
else |
else |
||
-- invalid |
-- invalid |