• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 41: Line 41:  
-- Top half of infobox
 
-- Top half of infobox
 
     -- Cards & Banners
 
     -- Cards & Banners
     local CardImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:KanMusu' .. shipNum .. 'Card.png|218px|' .. shipmodule.data[shipNum]["name"][3] .. ' Card]]</div>'
+
    local cardImgFile = '{{#setmainimage:KanMusu' .. shipNum .. 'Card.png}}'
 +
     local CardImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:' .. cardImgFile .. '|218px|' .. shipmodule.data[shipNum]["name"][3] .. ' Card]]</div>'
 
     local CardDmgImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:KanMusu' .. shipNum .. 'CardDmg.png|218px|' .. shipmodule.data[shipNum]["name"][3] .. ' Damaged Card]]</div>'
 
     local CardDmgImg = '<div style="text-align: center; width: 218px; height:300px;">[[File:KanMusu' .. shipNum .. 'CardDmg.png|218px|' .. shipmodule.data[shipNum]["name"][3] .. ' Damaged Card]]</div>'
 
     local BannerImg = '<div style="text-align: center; width: 160px; height:40px;">[[File:KanMusu' .. shipNum .. 'Banner.png|160px|' .. shipmodule.data[shipNum]["name"][3] .. ' Banner|class=imageCenter]]</div>'
 
     local BannerImg = '<div style="text-align: center; width: 160px; height:40px;">[[File:KanMusu' .. shipNum .. 'Banner.png|160px|' .. shipmodule.data[shipNum]["name"][3] .. ' Banner|class=imageCenter]]</div>'
cssedit, gkautomate
7,064

edits

Navigation menu