• 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
m
no edit summary
Line 258: Line 258:  
      
 
      
 
     rarity_bg = function(ship)
 
     rarity_bg = function(ship)
         return string.format('style="background:%s"|%s<br>%s', Formatting:format_ship_back(ship:rarity()), ship:rarity(), Formatting:format_ship_rarity(ship:rarity()))
+
         return string.format('style="background:%s"|%s<br>%s', Formatting:format_ship_back(ship:rarity()), ship:rarity() or '?', Formatting:format_ship_rarity(ship:rarity()))
 
     end,
 
     end,
    
     back_bg = function(ship)
 
     back_bg = function(ship)
         return string.format('style="background:%s"|%s<br>%s', Formatting:format_ship_back(ship:back()), ship:back(), Formatting:format_ship_rarity(ship:back()))
+
         return string.format('style="background:%s"|%s<br>%s', Formatting:format_ship_back(ship:back()), ship:back() or '?', Formatting:format_ship_rarity(ship:back()))
 
     end,
 
     end,
  
cssedit, gkautomate
7,064

edits

Navigation menu