Changes
no edit summary
function EquipmentData:name(raw)
function EquipmentData:name(raw)
return self:format_stat(self._name, raw)
return self:format_stat(self._name, raw)
end
function EquipmentData:link(raw)
if self._page then
return mw.ustring.format(self._aliased_link, self._page, self:name())
else
return mw.ustring.format(self._simple_link, self:name())
end
end
end
})
})
function EquipmentData:create(ship)
function EquipmentData:create(equip)
equip = equip or {}
setmetatable(ship, self)
setmetatable(equip, equip)
equip.__index = self
return ship
return equip
end
end