Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentLink
(view source)
Revision as of 07:14, 20 December 2019
65 bytes added
,
4 years ago
no edit summary
Line 18:
Line 18:
local image = args.image
local image = args.image
local icon = args.icon
local icon = args.icon
+
local size = args.size
local cards = {}
local cards = {}
for _, arg in ipairs(args) do
for _, arg in ipairs(args) do
−
table.insert(cards, arg == "-" and "<br />" or EquipmentCardKai:Asset({ arg, size = "
260px
" }))
+
table.insert(cards, arg == "-" and "<br />" or EquipmentCardKai:Asset({ arg, size =
size or
"
160px
" }))
end
end
local formatted_image
local formatted_image
= image
= image
−
and EquipmentCardKai:Asset({ name, size = image, link = link or name })
+
and EquipmentCardKai:Asset({ name, size =
image == "true" and "50px" or
image, link = link or name })
or ""
or ""
がか
cssedit, gkautomate
7,064
edits