Changes
no edit summary
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
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