• 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 40: Line 40:  
table_dd_row = [[|-
 
table_dd_row = [[|-
 
|${rank}
 
|${rank}
|${name}
+
|\[\[${name}\]\]
 
|${fp}
 
|${fp}
 
|${torp}
 
|${torp}
Line 62: Line 62:     
local rank = frame.args[1]
 
local rank = frame.args[1]
local ship = frame.args[2]
+
local ship_key = frame.args[2]
local name = ship and string.match(ship, "([^/]+)")
+
local name, suffix = Ship:process_ship_key(ship_key)
local ship_table = ship and Ship:get_table(ship, "")
+
local ship_table = Ship:get_table(name, suffix)
   −
if rank and ship and name and ship_table and ship_table._type then
+
if rank and name and ship_table and ship_table._type then
 
return format{
 
return format{
 
table_templates.table_dd_row,
 
table_templates.table_dd_row,
Line 88: Line 88:     
function Combat.table_cl(frame)
 
function Combat.table_cl(frame)
    return Combat.table_dd(frame)
+
return Combat.table_dd(frame)
 
end
 
end
    
function Combat.table_cl_row(frame)
 
function Combat.table_cl_row(frame)
    return Combat.table_dd_row(frame)
+
return Combat.table_dd_row(frame)
 
end
 
end
    
return Combat
 
return Combat
cssedit, gkautomate
6,928

edits

Navigation menu