Changes

m
divide into separate tables
Line 13: Line 13:  
      
 
      
 
     local upperTable = shipmodule.makeStatBox(frame)
 
     local upperTable = shipmodule.makeStatBox(frame)
     local DetailTable = '<table style="width: 100%">' .. shipmodule.EquipmentBox(frame) .. shipmodule.ModernizationBox(frame) .. shipmodule.getArtVoice(frame) .. '</table>'
+
     local DetailTable = shipmodule.EquipmentBox(frame) .. shipmodule.ModernizationBox(frame) .. shipmodule.getArtVoice(frame)  
    
     local shipInfoBox = '<div style="display: inline-block; vertical-align: top;"><table style="{{border-radius|10px 10px 10px 10px}} border: 1px solid #aaaaaa; min-width: 495px">'
 
     local shipInfoBox = '<div style="display: inline-block; vertical-align: top;"><table style="{{border-radius|10px 10px 10px 10px}} border: 1px solid #aaaaaa; min-width: 495px">'
Line 218: Line 218:  
         end
 
         end
 
     end
 
     end
     return equipHeader .. equip[1] .. equip[2] .. equip[3] .. equip[4]
+
     return '<table style="width: 100%">' .. equipHeader .. equip[1] .. equip[2] .. equip[3] .. equip[4] .. '</table>'
 
end
 
end
   Line 302: Line 302:  
     end
 
     end
 
     local row13 = '<tr>' .. RscHeader .. 'Modernization</th>' .. RscData2 .. modInfo .. '</td></tr>'
 
     local row13 = '<tr>' .. RscHeader .. 'Modernization</th>' .. RscData2 .. modInfo .. '</td></tr>'
     return row13 .. row11 .. row12
+
     return '<table style="width: 100%">' .. row13 .. row11 .. row12 .. '</table>'
 
end
 
end
   Line 331: Line 331:  
         voiceactor = 'Unknown'
 
         voiceactor = 'Unknown'
 
     end
 
     end
     local row14 = '<tr>' .. RscHeader .. 'Artist</th>' .. RscData .. illustrator .. '</td>' .. RscHeader .. 'Seiyuu</th>' .. RscData .. voiceactor .. '</td></tr>'
+
     local row14 = '<table style="width: 100%">' .. '<tr>' .. RscHeader .. 'Artist</th>' .. RscData .. illustrator .. '</td>' .. RscHeader .. 'Seiyuu</th>' .. RscData .. voiceactor .. '</td></tr>' .. '</table>'
 
     return row14
 
     return row14
 
end
 
end
5,421

edits