- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 1:
Line 1:
+
Line 948:
Line 949:
− else
− return self:name()
+
Line 1,117:
Line 1,117:
− +
− +
+
+
+
+
Line 1,154:
Line 1,158:
+
+
+
Fix link, rename upgradable to improvement
local BaseData = require("Module:BaseData")
local BaseData = require("Module:BaseData")
local EquipmentData = BaseData({
local EquipmentData = BaseData({
_strict_translation_class = "strict-translation",
_strict_translation_class = "strict-translation",
if self._page then
if self._page then
return self._page, self:name()
return self._page, self:name()
end
end
return self:name()
end
end
end
end
function EquipmentData:upgradable()
function EquipmentData:improvement()
return not not self._upgradable
return not not self._improvement
end
function EquipmentData:improvement_from()
return self._improvement_from
end
end
equip._name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._strict_name))
equip._name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._strict_name))
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._common_name))
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._common_name))
if not equip._page then
equip._page = equip._common_name
end
end
end
return equip
return equip