• 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 81: Line 81:  
function ShipInfoKai:bg_color(ship)
 
function ShipInfoKai:bg_color(ship)
 
local rarity = ship:rarity()
 
local rarity = ship:rarity()
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity and rarity > 7, rarity and rarity > 6)
+
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity and rarity > 7, rarity and rarity > 6) or ""
 
end
 
end
   Line 252: Line 252:  
labels[k] = Formatting:format_stat_name(k)
 
labels[k] = Formatting:format_stat_name(k)
 
end
 
end
vars.classes = collapsible and "mw-collapsible" or ""
+
vars.table_class = collapsible and "mw-collapsible" or ""
 
vars.icons = icons
 
vars.icons = icons
 
vars.labels = labels
 
vars.labels = labels
Anonymous user

Navigation menu