Changes

no edit summary
Line 198: Line 198:  
         equipHeader = '<th style="white-space: nowrap; {{border-radius|12px 12px 12px 12px}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipment</th>'
 
         equipHeader = '<th style="white-space: nowrap; {{border-radius|12px 12px 12px 12px}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipment</th>'
 
         equipStyle = '<td style="white-space: nowrap; text-align: center; vertical-align: baseline;">'
 
         equipStyle = '<td style="white-space: nowrap; text-align: center; vertical-align: baseline;">'
    end
  −
   
  −
    local numRows = 4
  −
    -- 346 Musashi Kai Ni
  −
    -- 353 Ise Kai Ni
  −
    -- 354 Hyuuga Kai Ni
  −
    if shipNum == "346" or shipNum == "353" or shipNum == "354" or shipNum == "404" or shipNum == "409" then
  −
    numRows = 5
   
     end
 
     end
    
     local equipTable = ''
 
     local equipTable = ''
     for i = 1, numRows, 1 do
+
     for i = 1, table.getn(shipmodule.data[shipNum]["equip"]) do
 
     local equipRow = '<tr>'
 
     local equipRow = '<tr>'
 
         if shipmodule.data[shipNum]["aircraft"] ~= "" then
 
         if shipmodule.data[shipNum]["aircraft"] ~= "" then
cssedit, gkautomate
7,064

edits