• 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 101: Line 101:  
     return string.format('{{tooltip|~/%s|%s}}', maxHp, U.ijoin(hps, ', '))
 
     return string.format('{{tooltip|~/%s|%s}}', maxHp, U.ijoin(hps, ', '))
 
   end
 
   end
 +
end
 +
 +
local function formatVoice(e)
 +
  return string.format('{{audio|file=Ship Voice %s Spring 2019 Event Friend Fleet %s.ogg}}', e.ship, e.voice)
 
end
 
end
   Line 149: Line 153:  
             if fleet.p2w and fleet.p2w > 0 then
 
             if fleet.p2w and fleet.p2w > 0 then
 
                 fleetNote = fleetNote .. ", '''{{color|red|{{tooltip|Powerful|"  .. fleet.p2w ..  " samples}}}}'''"
 
                 fleetNote = fleetNote .. ", '''{{color|red|{{tooltip|Powerful|"  .. fleet.p2w ..  " samples}}}}'''"
 +
            end
 +
            if table.getn(fleet.voices) > 0 then
 +
                fleetNote = fleetNote .. ' ' .. U.ijoin(U.imap(fleet.voices[1], formatVoice))
 
             end
 
             end
 
             table.insert(result, fleetNote)
 
             table.insert(result, fleetNote)
cssedit, gkautomate
6,941

edits

Navigation menu