• 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 22: Line 22:  
     incomplete_style = "background:#fee;",
 
     incomplete_style = "background:#fee;",
 
     incomplete_category = format_category("Ship pages with incomplete quotes"),
 
     incomplete_category = format_category("Ship pages with incomplete quotes"),
     row = [=[|- ${style} class="shipquote"
+
     row = [=[|- ${style} class="shipquote" data-shipquote-id="${id}" data-shipquote-form="${form}"
 
| nowrap="nowrap" |${audio_button} ${line}
 
| nowrap="nowrap" |${audio_button} ${line}
| colspan="${ja_colspan}" style="${ja_style}" |<span lang="ja" style="font-family: sans-serif;">${ja}</span>
+
| colspan="${ja_colspan}" style="${ja_style}" class="shipquote-ja" |<span lang="ja" style="font-family: sans-serif;">${ja}</span>
 
${en_cell}|${note}]=],
 
${en_cell}|${note}]=],
 
     note = [[|-
 
     note = [[|-
Line 31: Line 31:     
local lines = {
 
local lines = {
     { name = "Introduction" },
+
     { name = "Introduction", id = 1 },
     { name = "Library" },
+
     { name = "Library", id = 25 },
     { name = "Secretary 1" },
+
     { name = "Secretary 1", id = 2 },
     { name = "Secretary 2" },
+
     { name = "Secretary 2", id = 3 },
     { name = "Secretary 3" },
+
     { name = "Secretary 3", id = 4 },
     { name = "Idle", extra = true },
+
     { name = "Idle", extra = true, id = 29 },
     { name = "Secretary Married", spoiler = true },
+
     { name = "Secretary Married", spoiler = true, id = 28 },
     { name = "Wedding", spoiler = true },
+
     { name = "Wedding", spoiler = true, id = 24 },
     { name = "Looking At Scores" },
+
     { name = "Looking At Scores", id = 8 },
     { name = "Joining A Fleet" },
+
     { name = "Joining A Fleet", id = 13 },
     { name = "Equipment 1" },
+
     { name = "Equipment 1", id = 9 },
     { name = "Equipment 2" },
+
     { name = "Equipment 2", id = 10 },
     { name = "Equipment 3", note = "shared with expedition selection, resource collection, instant repair and development" },
+
     { name = "Equipment 3", note = "shared with expedition selection, resource collection, instant repair and development", id = 26 },
     { name = "Supply" },
+
     { name = "Supply", id = 27 },
     { name = "Docking Minor" },
+
     { name = "Docking Minor", id = 11 },
     { name = "Docking Major" },
+
     { name = "Docking Major", id = 12 },
     { name = "Docking Complete", extra = true },
+
     { name = "Docking Complete", extra = true, id = 6 },
     { name = "Construction" },
+
     { name = "Construction", id = 5 },
     { name = "Returning From Sortie" },
+
     { name = "Returning From Sortie", id = 7 },
     { name = "Starting A Sortie" },
+
     { name = "Starting A Sortie", id = 14 },
     { name = "Battle Start" },
+
     { name = "Battle Start", id = 15 },
     { name = "Air Battle", extra = true },
+
     { name = "Air Battle", extra = true, id = 17 },
     { name = "Attack", note = "shared with [[Combat#Artillery_Spotting|day]]/[[Combat#Night_Special_Attack_Modifier|night]] special attacks, [[Expedition#Support_expedition|support expedition team]] arrival" },
+
     { name = "Attack", note = "shared with [[Combat#Artillery_Spotting|day]]/[[Combat#Night_Special_Attack_Modifier|night]] special attacks, [[Expedition#Support_expedition|support expedition team]] arrival", id = 16 },
     { name = "Night Battle" },
+
     { name = "Night Battle", id = 18 },
     { name = "Night Attack" },
+
     { name = "Night Attack", id = 17 },
     { name = "MVP" },
+
     { name = "MVP", id = 23 },
     { name = "Minor Damage 1" },
+
     { name = "Minor Damage 1", id = 19 },
     { name = "Minor Damage 2" },
+
     { name = "Minor Damage 2", id = 20 },
     { name = "Major Damage" },
+
     { name = "Major Damage", id = 21 },
     { name = "Sunk", spoiler = true },
+
     { name = "Sunk", spoiler = true, id = 22 },
 
}
 
}
   Line 114: Line 114:  
                 },
 
                 },
 
             },
 
             },
 +
            id = line.id,
 +
            form = remodel or "Base",
 
             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",
 
             ja_style = ja_style or jaEn_style or "",
 
             ja_style = ja_style or jaEn_style or "",
             en_cell = jaEn and "" or '| style="' .. (en_style or "") .. '"|' .. format_text(en, line) .. "\n",
+
             en_cell = jaEn and "" or '| style="' .. (en_style or "") .. '" class="shipquote-en" |' .. format_text(en, line) .. "\n",
 
             note = format_text(note, line),
 
             note = format_text(note, line),
 
         })
 
         })
cssedit, gkautomate
7,064

edits

Navigation menu