• 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 111: Line 111:  
     ship.type
 
     ship.type
 
   local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. ship.name[3] .. "</th></tr>"
 
   local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. ship.name[3] .. "</th></tr>"
   local row3 = '<tr><td colspan="4" style="text-align: center;">' .. ship.class .. " " .. shipType .. "</td></tr>"
+
  local class_string = ship.class == ship.class_override and ship.class or formatTooltip(ship.class, "Game library: " .. ship.class_override)
 +
   local row3 = '<tr><td colspan="4" style="text-align: center;">' .. class_string .. " " .. shipType .. "</td></tr>"
 
   local row4 =
 
   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>'
 
     '<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>'
Line 559: Line 560:  
   data.name = {ship:japanese_name() or "", ship:reading() or "", ship:name() or ""}
 
   data.name = {ship:japanese_name() or "", ship:reading() or "", ship:name() or ""}
 
   local class = ship:class()
 
   local class = ship:class()
   data.class = class and ship:class():name() or "???"
+
   data.class = class and class:name() or "???"
 +
  data.class_override = class and class:name_override() or "???"
 
   data.type = ship:formatted_type() or ""
 
   data.type = ship:formatted_type() or ""
 
   data.spd = ship:formatted_speed() or ""
 
   data.spd = ship:formatted_speed() or ""
cssedit, gkautomate
6,916

edits

Navigation menu