Changes

no edit summary
Line 115: Line 115:  
     local CardImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:{{#setmainimage:Ship Card ' .. shipName .. '.png}}|218x300px|' .. shipName .. ' Card]]</div>'
 
     local CardImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:{{#setmainimage:Ship Card ' .. shipName .. '.png}}|218x300px|' .. shipName .. ' Card]]</div>'
 
     local CardDmgImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:Ship Card ' .. shipName .. ' Damaged.png|218x300px|' .. shipName .. ' Damaged Card]]</div>'
 
     local CardDmgImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:Ship Card ' .. shipName .. ' Damaged.png|218x300px|' .. shipName .. ' Damaged Card]]</div>'
     local BannerImg = '<div style="text-align: center; width: 160px; height:40px;">[[File:Ship Banner ' .. shipName .. '.png|160px|' .. shipName .. ' Banner|class=imageCenter]]</div>'
+
     local BannerImg = '<div class="first-image" style="text-align: center; width: 160px; height:40px;">[[File:Ship Banner ' .. shipName .. '.png|160px|' .. shipName .. ' Banner|class=imageCenter]]</div>'
     local BannerDmgImg = '<div style="text-align: center; width: 160px; height:40px;">[[File:Ship Banner ' .. shipName .. ' Damaged.png|160px|' .. shipName .. ' Damaged Banner|class=imageCenter]]</div>'
+
     local BannerDmgImg = '<div class="second-image" style="text-align: center; width: 160px; height:40px;">[[File:Ship Banner ' .. shipName .. ' Damaged.png|160px|' .. shipName .. ' Damaged Banner|class=imageCenter]]</div>'
   −
     local Cards = '<td rowspan="10" style="text-align: center; width: 218px; height:300px;">' .. frame:extensionTag('slideshow', CardImg .. CardDmgImg, {
+
     local Cards = '<td class="double-image" rowspan="10" style="text-align: center; width: 218px; height:300px;">' .. frame:extensionTag('slideshow', CardImg .. CardDmgImg, {
    sequence = 'forward', transition = 'fade', refresh = '10000', center = 'true'
  −
    }) .. '</td>'
  −
    local Banners = '<td colspan="3" style="text-align: center; width: 160px; height:40px;">' .. frame:extensionTag('slideshow', BannerImg .. BannerDmgImg, {
   
     sequence = 'forward', transition = 'fade', refresh = '10000', center = 'true'
 
     sequence = 'forward', transition = 'fade', refresh = '10000', center = 'true'
 
     }) .. '</td>'
 
     }) .. '</td>'
 +
    local Banners = '<td class="double-image" colspan="3" style="text-align: center; width: 160px; height:40px;">'
 +
        .. BannerImg .. BannerDmgImg
 +
        -- .. frame:extensionTag('slideshow', BannerImg .. BannerDmgImg, { sequence = 'forward', transition = 'fade', refresh = '10000', center = 'true' })
 +
        .. '</td>'
    
     local sortNo = shipInfo.sortno or U.split(shipNum, '-')[1] or '?'
 
     local sortNo = shipInfo.sortno or U.split(shipNum, '-')[1] or '?'
cssedit, gkautomate
7,064

edits