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 13:33, 4 October 2019
72 bytes added
,
5 years ago
no edit summary
Line 213:
Line 213:
end
end
−
function EquipmentData:card()
+
function EquipmentData:card(
as_item
)
−
if self._item then
+
if self._item
or as_item and self._item_id
then
return Formatting:item_card(self:asset_name())
return Formatting:item_card(self:asset_name())
end
end
Line 288:
Line 288:
end
end
−
function EquipmentData:icon()
+
function EquipmentData:icon(
as_item
)
−
if self._item then
+
if self._item
or as_item and self._item_id
then
return Formatting:item_card(self:asset_name())
return Formatting:item_card(self:asset_name())
end
end
がか
cssedit, gkautomate
7,064
edits