• 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
Add support to regular maps
Line 6: Line 6:  
]]
 
]]
   −
local title_template = [[<div id="${map} ${node} ${diff}" style="width:700px;text-align:center;">${map} ${node}: ${name} ([http://db.kcwiki.moe/drop/map/${event_number}${map_number}/${diff_number}/${node}-SAB.html PoiDB])</div>
+
local title_template = [[<div id="${map} ${node} ${diff}" style="width:700px;text-align:center;">${map} ${node}: ${name} ([http://db.kcwiki.moe/drop/map/${event_number}${map_number}${diff_number}/${node}-SAB.html PoiDB])</div>
 
]]
 
]]
    
local event_numbers = {
 
local event_numbers = {
 +
    ["World 1: 鎮守府海域"] = 1,
 +
    ["World 2: 南西諸島海域"] = 2,
 +
    ["World 3: 北方海域"] = 3,
 +
    ["World 4: 西方海域"] = 4,
 +
    ["World 5: 南方海域"] = 5,
 +
    ["World 6: 中部海域"] = 6,
 
     ["Winter 2016 Event"] = 33,
 
     ["Winter 2016 Event"] = 33,
 
     ["Spring 2016 Event"] = 34,
 
     ["Spring 2016 Event"] = 34,
Line 51: Line 57:  
      
 
      
 
     local map_number = string.match(map, "%d") or "?"
 
     local map_number = string.match(map, "%d") or "?"
     local diff_number = diffs[diff] or "?"
+
     local diff_number = "/"+diffs[diff] or ""
    
     return format{
 
     return format{
cssedit, prechecked
1,656

edits

Navigation menu