Line 113: |
Line 113: |
| | | |
| local shipName = shipInfo.name[3] | | local shipName = shipInfo.name[3] |
− | local CardImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:{{#setmainimage:Ship Card ' .. shipName .. '.png}}|218x300px|' .. shipName .. ' Card]]</div>' | + | local CardImg = '<div class="top-image">[[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>[[File:Ship Card ' .. shipName .. ' Damaged.png|218x300px|' .. shipName .. ' Damaged Card]]</div>' |
− | local BannerImg = '<div class="top-image">[[File:Ship Banner ' .. shipName .. '.png|160px|' .. shipName .. ' Banner|class=test-class]]</div>' | + | local BannerImg = '<div class="top-image">[[File:Ship Banner ' .. shipName .. '.png|160px|' .. shipName .. ' Banner]]</div>' |
− | local BannerDmgImg = '<div>[[File:Ship Banner ' .. shipName .. ' Damaged.png|160px|' .. shipName .. ' Damaged Banner|class=test-class]]</div>' | + | local BannerDmgImg = '<div>[[File:Ship Banner ' .. shipName .. ' Damaged.png|160px|' .. shipName .. ' Damaged Banner]]</div>' |
| | | |
− | local Cards = '<td class="double-image" rowspan="10" style="text-align: center; width: 218px; height:300px;">' .. frame:extensionTag('slideshow', CardImg .. CardDmgImg, { | + | local Cards = '<td rowspan="10" class="double-image" style="width:218px;height:300px">' .. CardDmgImg .. CardImg .. '</td>' |
− | sequence = 'forward', transition = 'fade', refresh = '10000', center = 'true'
| + | local Banners = '<td colspan="3" class="double-image" style="width:160px;height:40px">' .. BannerDmgImg .. BannerImg .. '</td>' |
− | }) .. '</td>'
| + | -- frame:extensionTag('slideshow', CardImg .. CardDmgImg, { sequence = 'forward', transition = 'fade', refresh = '10000', center = 'true' }) |
− | local Banners = '<td colspan="3" class="double-image" style="width:160px;height:40px">' | + | -- frame:extensionTag('slideshow', BannerImg .. BannerDmgImg, { sequence = 'forward', transition = 'fade', refresh = '10000', center = 'true' }) |
− | .. BannerDmgImg .. BannerImg
| |
− | -- .. 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 '?' |