Changes
no edit summary
|-
|-
| colspan="2" style="position: relative; padding: 1px 40px; text-align: center; background-color: ${back};${extra_style};"|<div style="position: absolute; right: 5px;">${edit_link}</div>
| colspan="2" style="position: relative; padding: 1px 40px; text-align: center; background-color: ${back};${extra_style};"|<div style="position: absolute; right: 5px;">${edit_link}</div>
<p style="font-size: 25px">'''${name}'''</p>
<p style="font-size: 25px">'''${name}'''</p>${localized_name}
<p style="font-size: 20px">'''No.${id} ${japanese_name}'''</p>
<p style="font-size: 20px">'''No.${id} ${japanese_name}'''</p>
|-
|-
_row_starter = "|-",
_row_starter = "|-",
_compatibility_cell = [[| style="width: 200px; text-align: center; background-color: ${bg_color};" | ${label}]],
_compatibility_cell = [[| style="width: 200px; text-align: center; background-color: ${bg_color};" | ${label}]],
_localized_name_template = "<p>''${localized_name}''</p>",
_equipment_data_documentation = "Template:EquipmentDataDocumentation/EditIntro",
_equipment_data_documentation = "Template:EquipmentDataDocumentation/EditIntro",
_edit_link_text = "Edit",
_edit_link_text = "Edit",
function EquipmentInfoKai:name(equipment)
function EquipmentInfoKai:name(equipment)
return Formatting:format_link(equipment:link())
end
function EquipmentInfoKai:localized_name(equipment)
local localized_name = equipment:localized_name()
local localized_name = equipment:localized_name()
if localized_name then
if localized_name then
return format{self._localized_name_template, localized_name = localized_name}
end
end
return Formatting:format_link(equipment:link())
return ""
end
end
extra_style = self:extra_style(equipment),
extra_style = self:extra_style(equipment),
name = self:name(equipment),
name = self:name(equipment),
localized_name = self:localized_name(equipment),
id = self:id(equipment),
id = self:id(equipment),
japanese_name = self:japanese_name(equipment),
japanese_name = self:japanese_name(equipment),