- 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 1:
Line 1:
− local Effects = require('Module:Effects')
Line 7:
Line 6:
− _unbuilable = "''Unbuildable''", +
Line 75:
Line 74:
− local extra = "" +
− if rarity > 6 then
− extra = format{" background-image: ${bloom}${sparkles}", bloom = rarity > 7 and Effects.bloom or "", sparkles = Effects.sparkles}
− end
− return Formatting:format_ship_back(rarity), extra
no edit summary
local Ship = require('Module:Ship')
local Ship = require('Module:Ship')
local StatIcons = require('Module:StatIcons')
local StatIcons = require('Module:StatIcons')
local Formatting = require('Module:Formatting')
local Formatting = require('Module:Formatting')
local format = require('Module:StringInterpolation').format
local format = require('Module:StringInterpolation').format
local ShipInfoKai = {
local ShipInfoKai = {
_catbomb = "Catbomb.png|300px",
_catbomb = "Catbomb.png|300px",
_unbuildable = "''Unbuildable''",
_remodel_level = "'''Remodel Level'''",
_remodel_level = "'''Remodel Level'''",
_build_time = "'''Build Time'''",
_build_time = "'''Build Time'''",
function ShipInfoKai:bg_color(ship)
function ShipInfoKai:bg_color(ship)
local rarity = ship:rarity()
local rarity = ship:rarity()
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity > 7, rarity > 6)
end
end