- 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 2:
Line 2:
+
Line 224:
Line 225:
− +
− +
− +
− +
Refactor
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')
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