• 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 176: Line 176:     
     -- Summary of basic ship info
 
     -- Summary of basic ship info
     local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. shipmodule.data[shipNum]["name"][3] .. '</th></tr>'
+
    local shipType = shipInfo.type == 'Light Carrier' and shipInfo.asw and type(shipInfo.asw[1]) == 'number' and shipInfo.asw[1] > 0 and string.format('<span class="explain" title="CVE">%s</span>', shipType) or shipType
     local row3 = '<tr><td colspan="4" style="text-align: center;">' .. shipmodule.data[shipNum]["class"] .. ' Class ' .. shipmodule.data[shipNum]["type"] .. '</td></tr>'
+
     local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. shipInfo.name[3] .. '</th></tr>'
 +
     local row3 = '<tr><td colspan="4" style="text-align: center;">' .. shipInfo.class .. ' Class ' .. shipType .. '</td></tr>'
 
     local row4 = '<tr><td colspan="4"><hr style="border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));" /></td></tr>'
 
     local row4 = '<tr><td colspan="4"><hr style="border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));" /></td></tr>'
  
cssedit, gkautomate
7,064

edits

Navigation menu