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 03:45, 5 February 2023
71 bytes added
,
1 year ago
→Horizontal formatting option for side-by-side equip icons
Line 19:
Line 19:
local image = args.image
local image = args.image
local icon = args.icon
local icon = args.icon
+
local horizontal = args.horizontal or false
local size = args.size or (args[2] and "160px" or "260px")
local size = args.size or (args[2] and "160px" or "260px")
Line 28:
Line 29:
cards,
cards,
arg == "-" and
arg == "-" and
−
"<br />" or
+
(horizontal and "" or
"<br />"
)
or
equip:id() and equip:id() > 500 and
equip:id() and equip:id() > 500 and
EquipmentGraphicKai:get{ equip = equip, size = size } or
EquipmentGraphicKai:get{ equip = equip, size = size } or
Memetails
1,032
edits