- 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
Line 72:
Line 72:
− +
− +
Insert correctly
local japanese_name = ship:japanese_name()
local japanese_name = ship:japanese_name()
if japanese_name and (text or link) ~= japanese_name then
if japanese_name and (text or link) ~= japanese_name then
table.insert(self._detailed_space)
table.insert(value, self._detailed_space)
table.insert(value, Formatting:inline_block(Formatting:format_stat(japanese_name), self._detailed_class, self._display_none_style))
table.insert(value, Formatting:inline_block(Formatting:format_stat(japanese_name), self._detailed_class, self._display_none_style))
end
end
local nickname = ship:nick()
local nickname = ship:nick()
if nickname then
if nickname then
table.insert(self._detailed_break)
table.insert(value, self._detailed_break)
table.insert(value, format{self._nickname_template, nickname = Formatting:inline_block(Formatting:format_stat(nickname))})
table.insert(value, format{self._nickname_template, nickname = Formatting:inline_block(Formatting:format_stat(nickname))})
end
end