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 09:40, 15 September 2017
18 bytes added
,
7 years ago
no edit summary
Line 19:
Line 19:
local cards = {}
local cards = {}
for _, arg in ipairs(args) do
for _, arg in ipairs(args) do
−
table.insert(cards, EquipmentCardKai:Asset({ arg }))
+
table.insert(cards, EquipmentCardKai:Asset({ arg
, size = args.size
}))
end
end
Line 33:
Line 33:
or ""
or ""
−
local tooltip_content =
#cards > 0 and
F:class_div("tooltip-contents", nil, table.concat(cards, ""
)
) or "??"
+
local tooltip_content = F:class_div("tooltip-contents", nil,
#cards > 0 and
table.concat(cards, "") or "??"
)
return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_link .. tooltip_content)
return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_link .. tooltip_content)
がか
cssedit, gkautomate
7,064
edits