• 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
no edit summary
Line 64: Line 64:  
_detailed_columns = 1,
 
_detailed_columns = 1,
 
_detail_toggle = '<p id="eliteshipskai-detailed-toggle" class="eliteshipskai-detailed-toggle hidden" style="display: none;">[[#eliteshipskai-detailed-toggle|Show details]][[#eliteshipskai-detailed-hidden|Hide details]]</p>',
 
_detail_toggle = '<p id="eliteshipskai-detailed-toggle" class="eliteshipskai-detailed-toggle hidden" style="display: none;">[[#eliteshipskai-detailed-toggle|Show details]][[#eliteshipskai-detailed-hidden|Hide details]]</p>',
_nickname_template = [[Nicknamed ''${nickname}'']],
+
_nickname_template = [[''${nick} ${japanese_nick}'']],
 
_kekkon_max_template = "Maximum after marriage: ${value}",
 
_kekkon_max_template = "Maximum after marriage: ${value}",
 
_item_class = Ship,
 
_item_class = Ship,
Line 81: Line 81:  
table.insert(value, self._detailed_end)
 
table.insert(value, self._detailed_end)
 
end
 
end
local nickname = ship:nick()
+
local nick = ship:nick()
if nickname then
+
if nick then
 
table.insert(value, self._detailed_start)
 
table.insert(value, self._detailed_start)
 
table.insert(value, " ")
 
table.insert(value, " ")
 
table.insert(value, self._detailed_end)
 
table.insert(value, self._detailed_end)
 
table.insert(value, self._detailed_start)
 
table.insert(value, self._detailed_start)
table.insert(value, format{self._nickname_template, nickname = Formatting:inline_block(Formatting:format_stat(nickname))})
+
table.insert(value, format{self._nickname_template,  
 +
    nick = Formatting:format_stat(nick),
 +
    japanese_nick = Formatting:format_stat(ship:japanese_nick())})
 
table.insert(value, self._detailed_end)
 
table.insert(value, self._detailed_end)
 
end
 
end
Anonymous user

Navigation menu