Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentData
(view source)
Revision as of 11:00, 12 March 2018
15 bytes removed
,
6 years ago
no edit summary
Line 221:
Line 221:
end
end
local api_id = self:api_id()
local api_id = self:api_id()
−
if api_id then
+
if api_id
~= nil
then
return Formatting:equipment_card(api_id, self:asset_name())
return Formatting:equipment_card(api_id, self:asset_name())
−
elseif
api_id == false
then
+
elseif
self._item
then
−
return Formatting:equipment_card(
api_id
, self:asset_name())
+
return Formatting:equipment_card(
false
, self:asset_name())
end
end
−
return self._card
end
end
がか
cssedit, gkautomate
7,064
edits