• 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 58: Line 58:  
     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 134: Line 138:  
       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 or {}) > 0 then
 +
        fleetNote = fleetNote .. ' ' .. U.ijoin(U.imap(fleet.voices[1], formatVoice), ' ')
 
       end
 
       end
 
       table.insert(result, string.format('|-\n!colspan="11"|%s', fleetNote))
 
       table.insert(result, string.format('|-\n!colspan="11"|%s', fleetNote))
cssedit, gkautomate
7,064

edits

Navigation menu