• 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
Refactor
Line 2: Line 2:  
local Equipment = require('Module:Equipment')
 
local Equipment = require('Module:Equipment')
 
local EquipmentCardKai = require('Module:EquipmentCardKai')
 
local EquipmentCardKai = require('Module:EquipmentCardKai')
 +
local EquipmentGraphicKai = require('Module:EquipmentGraphicKai')
 
local Formatting = require('Module:Formatting')
 
local Formatting = require('Module:Formatting')
 
local Tabber = require('Module:Tabber')
 
local Tabber = require('Module:Tabber')
Line 224: Line 225:  
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("Card", EquipmentCardKai:get{equipment = self._equipment, caption = caption})
tabber:add_tab("Fairy", Formatting:format_image{self._equipment:fairy()})
+
tabber:add_tab("Fairy", EquipmentGraphicKai:get{equipment = self._equipment, fairy = "only"})
tabber:add_tab("Equipment", Formatting:format_image{self._equipment:cg()})
+
tabber:add_tab("Equipment", EquipmentGraphicKai:get{equipment = self._equipment})
tabber:add_tab("Combination", Formatting:format_image{self._equipment:cg_fairy()})
+
tabber:add_tab("Combination", EquipmentGraphicKai:get{equipment = self._equipment, fairy = true})
 
self._vars.card = tostring(tabber)
 
self._vars.card = tostring(tabber)
 
end
 
end
Anonymous user

Navigation menu