• 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 121: Line 121:  
function EnemyShipListKai:notes(ship)
 
function EnemyShipListKai:notes(ship)
 
local note = self._notes[ship]
 
local note = self._notes[ship]
 +
local back = ship:back()
 +
local value = {}
 +
if back < -1 then
 +
table.insert(value, tostring(mw.html.create('span'):css({color = Formatting:format_ship_back(back)}):wikitext(Formatting:format_ship_rarity(back))))
 +
end
 
if note then
 
if note then
return {value = note.note or "", text_align = self._start_align}
+
table.insert(value, note.note or "")
 
end
 
end
return {value = "", text_align = self._start_align}
+
return {value = table.concat(value, "<br/>"), text_align = self._start_align}
 
end
 
end
  
Anonymous user

Navigation menu