• 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
m
no edit summary
Line 4: Line 4:     
local seiyuus = {
 
local seiyuus = {
    ["Bridcut Sarah Emi"] = {
+
    ["Bridcut Sarah Emi"] = {
 
         url = "http://myanimelist.net/people/19371/Sarah_Emi_Bridcut",
 
         url = "http://myanimelist.net/people/19371/Sarah_Emi_Bridcut",
 
         ships = {"Hatsukaze", "Kumano", "Maikaze", "Suzuya", "Yuubari", },
 
         ships = {"Hatsukaze", "Kumano", "Maikaze", "Suzuya", "Yuubari", },
Line 176: Line 176:  
     local n = 0
 
     local n = 0
 
     for k, data in pairs(tbl) do
 
     for k, data in pairs(tbl) do
        local j = 0
   
         local ships = Utils.filter(data.ships, function(ship) return Utils.find(args, ship) end)
 
         local ships = Utils.filter(data.ships, function(ship) return Utils.find(args, ship) end)
 
         if #ships > 0 then
 
         if #ships > 0 then
 
             i = i + 1
 
             i = i + 1
            j = j + 1
   
             n = n + #ships
 
             n = n + #ships
 
             local ships_str = table.concat(Utils.map(ships, function(ship) return string.format("[[#%s|%s]]", ship, ship) end), ", ")
 
             local ships_str = table.concat(Utils.map(ships, function(ship) return string.format("[[#%s|%s]]", ship, ship) end), ", ")
Line 186: Line 184:  
                 result = result .. string.format("|-\n|[%s %s]\n|%s\n", data.url, k, ships_str)
 
                 result = result .. string.format("|-\n|[%s %s]\n|%s\n", data.url, k, ships_str)
 
             elseif type == "types" then
 
             elseif type == "types" then
                 result = result .. string.format("|-\n|[[#%s|%s]] (%s)\n|%s\n", args[k] or k, k, j, ships_str)
+
                 result = result .. string.format("|-\n|[[#%s|%s]] (%s)\n|%s\n", args[k] or k, k, #ships, ships_str)
 
             else
 
             else
 
                 result = result .. string.format("|-\n|%s\n|%s\n", k, ships_str)
 
                 result = result .. string.format("|-\n|%s\n|%s\n", k, ships_str)
cssedit, gkautomate
7,064

edits

Navigation menu