Changes

no edit summary
Line 26: Line 26:  
${compatibility_details}${bonus_details}
 
${compatibility_details}${bonus_details}
 
|}]],
 
|}]],
     _bonus_header = [[|-
+
     _bonus_header = [=[|-
| colspan="2" style="text-align: center; background-color: LightSkyBlue;" | '''Bonus''']],
+
| colspan="2" style="text-align: center; background-color: LightSkyBlue;" | '''Bonus'''${category}]=],
 
     _bonus_row = [=[|-
 
     _bonus_row = [=[|-
 
| style="width: 190px; text-align: center;" | ${text}
 
| style="width: 190px; text-align: center;" | ${text}
Line 356: Line 356:     
function EquipmentInfoKai:bonus_details()
 
function EquipmentInfoKai:bonus_details()
     local result = { self._bonus_header }
+
     local result = { format{self._bonus_header, category = U.category("Equipment with stat bonuses") } }
 
     for _, ship in ipairs(U.isort(U.keys(self._equipment._bonus or {}))) do
 
     for _, ship in ipairs(U.isort(U.keys(self._equipment._bonus or {}))) do
 
         local s = self._equipment._bonus[ship] or {}
 
         local s = self._equipment._bonus[ship] or {}
cssedit, gkautomate
7,064

edits