• 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 56: Line 56:     
local audio_suffixes = {
 
local audio_suffixes = {
     ["/Kai"] = "Kai",
+
     ["Kai"] = "Kai",
     ["/Kai Ni"] = "Kai2",
+
     ["Kai Ni"] = "Kai2",
 
}
 
}
   Line 65: Line 65:     
function insertRow(result, remodel, args, line)
 
function insertRow(result, remodel, args, line)
     local remodel_string = remodel or ""
+
     local remodel_string = remodel and "/" .. remodel or ""
 
     local ja, en, note = args[line.name .. remodel_string], args[line.name .. remodel_string .. "/En"], args[line.name .. remodel_string .. "/Note"]
 
     local ja, en, note = args[line.name .. remodel_string], args[line.name .. remodel_string .. "/En"], args[line.name .. remodel_string .. "/Note"]
 
     local jaEn = args[line.name .. remodel_string .. "/Both"]
 
     local jaEn = args[line.name .. remodel_string .. "/Both"]
 
     local link = args[line.name .. remodel_string .. "/Link"]
 
     local link = args[line.name .. remodel_string .. "/Link"]
 
     if not remodel and not line.extra or jaEn or ja or en or note then
 
     if not remodel and not line.extra or jaEn or ja or en or note then
 +
        local line_name = line.name .. (remodel and " (" .. remodel .. ")" or "")
 
         table.insert(result, format{
 
         table.insert(result, format{
 
             templates.row,
 
             templates.row,
Line 82: Line 83:  
                 },
 
                 },
 
             },
 
             },
             line = link and format{templates.line_link, link = link, line = line.name} or line.name,
+
             line = link and format{templates.line_link, link = link, line = line_name} or line_name,
 
             ja = format_text(jaEn or ja, line),
 
             ja = format_text(jaEn or ja, line),
 
             ja_colspan = jaEn and "2" or "1",
 
             ja_colspan = jaEn and "2" or "1",
Line 101: Line 102:  
     for _, line in pairs(lines) do
 
     for _, line in pairs(lines) do
 
         local added = insertRow(result, nil, args, line)
 
         local added = insertRow(result, nil, args, line)
         added = added + insertRow(result, "/Kai", args, line)
+
         added = added + insertRow(result, "Kai", args, line)
         added = added + insertRow(result, "/Kai Ni", args, line)
+
         added = added + insertRow(result, "Kai Ni", args, line)
 
         if line.note and added > 0 then
 
         if line.note and added > 0 then
 
             table.insert(result, format{templates.note, note = line.note})
 
             table.insert(result, format{templates.note, note = line.note})
cssedit, gkautomate
7,064

edits

Navigation menu