Changes

I stoopid. Fixed Escort Carrier text not showing up.
Line 119: Line 119:  
     ship.type == "Light Carrier" and type(ship.asw) == "table" and type(ship.asw[1]) == "number" and ship.asw[1] > 0
 
     ship.type == "Light Carrier" and type(ship.asw) == "table" and type(ship.asw[1]) == "number" and ship.asw[1] > 0
 
   local shipType =
 
   local shipType =
     isCVE and string.format('<span class="explain" title="CVE"></span>', ship.type) or
+
     isCVE and string.format('<span class="explain" title="CVE">%s[[Category:Escort Carriers]]</span>', ship.type) or
 
     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>"
Line 467: Line 467:  
   if ship["seiyuu"] ~= "Unknown" and ship["seiyuu"] ~= "" then
 
   if ship["seiyuu"] ~= "Unknown" and ship["seiyuu"] ~= "" then
 
     categories = categories .. "[[Category:" .. ship["seiyuu"] .. "]]"
 
     categories = categories .. "[[Category:" .. ship["seiyuu"] .. "]]"
  end
  −
  if ship.type == "Light Carrier" and type(ship.asw) == "table" and type(ship.asw[1]) == "number" and ship.asw[1] > 0 then
  −
categories = categories .. "[[Category:Escort Carriers]]"
   
   end
 
   end
 
   return categories
 
   return categories
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,932

edits