Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentInfoKai
(view source)
Revision as of 03:32, 7 July 2018
76 bytes added
,
6 years ago
no edit summary
Line 26:
Line 26:
${compatibility_details}${bonus_details}
${compatibility_details}${bonus_details}
|}]],
|}]],
−
_bonus_header = [[|-
+
_bonus_header = [
=
[|-
−
| colspan="2" style="text-align: center; background-color: LightSkyBlue;" | '''Bonus''']],
+
| colspan="2" style="text-align: center; background-color: LightSkyBlue;" | '''Bonus'''
${category}
]
=
],
_bonus_row = [=[|-
_bonus_row = [=[|-
| style="width: 190px; text-align: center;" | ${text}
| style="width: 190px; text-align: center;" | ${text}
Line 356:
Line 356:
function EquipmentInfoKai:bonus_details()
function EquipmentInfoKai:bonus_details()
−
local result = { self._bonus_header }
+
local result =
{ format
{self._bonus_header
, category = U.category("Equipment with stat bonuses") }
}
for _, ship in ipairs(U.isort(U.keys(self._equipment._bonus or {}))) do
for _, ship in ipairs(U.isort(U.keys(self._equipment._bonus or {}))) do
local s = self._equipment._bonus[ship] or {}
local s = self._equipment._bonus[ship] or {}
がか
cssedit, gkautomate
7,064
edits