Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Calc
(view source)
Revision as of 19:51, 16 September 2018
192 bytes added
,
6 years ago
m
no edit summary
Line 115:
Line 115:
end
end
local eq = Equipment(e.equipment)
local eq = Equipment(e.equipment)
−
local icon = Formatting:format_image{Formatting:format_equipment_icon(
eq:
icon
()
), caption = Formatting:format_equipment_type(
eq:type()
)
}
+
local icon =
eq:icon()
−
return icon
+
local eqType = eq:type()
−
end)
, ''
)
+
if type(icon) ~= 'string' or type(eqType) ~= 'string' then
+
return '(?)'
+
end
+
return
Formatting:format_image{
+
Formatting:format_equipment_icon(icon),
+
caption = Formatting:format_equipment_type(
eqType
)
+
}
+
end))
end,
end,
がか
cssedit, gkautomate
7,064
edits