• 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 61: Line 61:     
local function formatVoice(e)
 
local function formatVoice(e)
   return string.format('{{audio|file=Ship Voice %s Spring 2019 Event Friend Fleet %s.ogg}}', e.ship, e.voice)
+
   if type(e.voice) == 'number' and e.voice < 10 then
 +
    return string.format('{{audio|file=Ship Voice %s Spring 2019 Event Friend Fleet %s.ogg}}', e.ship, e.voice)
 +
  else
 +
    return string.format('{{audio|file=Ship Voice %s %s.ogg}}', e.ship, e.voice)
 +
  end
 
end
 
end
  
cssedit, gkautomate
6,928

edits

Navigation menu