Anonymous user
Module:Multiple image: Difference between revisions
Use different class since it messes with Template:Infobox sports rivalry
(sync change to alignment/footer code, per tper) |
imported>Terasail (Use different class since it messes with Template:Infobox sports rivalry) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 34: | Line 34: | ||
local thumbtimestr = '' | local thumbtimestr = '' | ||
if widthstr == '|-nanpx' then | |||
widthstr = '' | |||
end | |||
if isnotempty( thumbtime ) then | if isnotempty( thumbtime ) then | ||
thumbtimestr = '|thumbtime=' .. thumbtime | thumbtimestr = '|thumbtime=' .. thumbtime | ||
Line 229: | Line 232: | ||
local div = root:tag('div') | local div = root:tag('div') | ||
div:addClass('thumbinner') | div:addClass('thumbinner multiimageinner') | ||
div:css('width', tostring(bodywidth) .. 'px') | div:css('width', tostring(bodywidth) .. 'px') | ||
:css('max-width', tostring(bodywidth) .. 'px') | :css('max-width', tostring(bodywidth) .. 'px') |