- 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 3:
Line 3:
+
+
Line 206:
Line 208:
+
Line 221:
Line 224:
− self._vars.card = EquipmentCardKai:card{equipment = self._equipment, caption = caption} +
+
+
+
+
Merge EquipmentInfoKaiTabber
local EquipmentCardKai = require('Module:EquipmentCardKai')
local EquipmentCardKai = require('Module:EquipmentCardKai')
local Formatting = require('Module:Formatting')
local Formatting = require('Module:Formatting')
local Tabber = require('Module:Tabber')
local format = require('Module:StringInterpolation').format
local format = require('Module:StringInterpolation').format
function EquipmentInfoKai:image()
function EquipmentInfoKai:image()
local tabber = Tabber()
local caption = nil
local caption = nil
local card_name = self._equipment:card_name()
local card_name = self._equipment:card_name()
caption = table.concat(card_caption)
caption = table.concat(card_caption)
end
end
tabber:add_tab("Card", EquipmentCardKai:card{equipment = self._equipment, caption = caption})
tabber:add_tab("Fairy", Formatting:format_image{self._equipment:fairy()})
tabber:add_tab("Equipment", Formatting:format_image{self._equipment:cg()})
tabber:add_tab("Combination", Formatting:format_image{self._equipment:cg_fairy()})
self._vars.card = tostring(tabber)
end
end