• 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 14: Line 14:  
_stat_2 = "%d (%d)",
 
_stat_2 = "%d (%d)",
 
_slot_template = [[|- align=center style="background-color: whitesmoke; line-height: 1.1;"
 
_slot_template = [[|- align=center style="background-color: whitesmoke; line-height: 1.1;"
| style="width: 36px; height: 36px; background-color: ${color};" | ${icon}
+
| style="width: 36px; height: 36px; background-color: ${color};${extra_style}" | ${icon}
 
| colspan="4" style="width: 190px;" | ${equipment}
 
| colspan="4" style="width: 190px;" | ${equipment}
 
| style="width: 50px;" | ${slot_size}
 
| style="width: 50px;" | ${slot_size}
Line 185: Line 185:  
end
 
end
 
color = Formatting:format_equipment_back(color)
 
color = Formatting:format_equipment_back(color)
table.insert(slots, format{self._slot_template, icon = icon, equipment = equipment, slot_size = size, color = color})
+
table.insert(slots, format{self._slot_template, icon = icon, equipment = equipment, slot_size = size, color = color, extra_style = Formatting:extra_style_background_image(false, color >= 4)})
 
end
 
end
 
return table.concat(slots)
 
return table.concat(slots)
Anonymous user

Navigation menu