- 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 12:
Line 12:
− _battle_card_layer = [[<span style="position: absolute;">${image}</span>]],
Line 37:
Line 36:
− +
Forgot that the image doesn't need a span anymore
},
},
_battle_card_wrapper = [[<span style="display: inline-block; position: relative;">${layers}</span>]],
_battle_card_wrapper = [[<span style="display: inline-block; position: relative;">${layers}</span>]],
_image_layer = [[<span style="position: absolute; top: ${top}; left: ${left};">${image}</span>]],
_image_layer = [[<span style="position: absolute; top: ${top}; left: ${left};">${image}</span>]],
}
}
local ship_layers = ship:battle_card_layers()
local ship_layers = ship:battle_card_layers()
if ship_layers or args.flagship then
if ship_layers or args.flagship then
local layers = {format{self._battle_card_layer, image = image}}
local layers = {image}
if ship_layers then
if ship_layers then
for _, layer in ipairs(ship_layers) do
for _, layer in ipairs(ship_layers) do