Line 6: |
Line 6: |
| local format = require('Module:Utils').format | | local format = require('Module:Utils').format |
| | | |
| + | -- [[Category:Todo]]: hardcoded icons |
| local EquipmentListKai = BaseTable{ | | local EquipmentListKai = BaseTable{ |
| _item_class = Equipment, | | _item_class = Equipment, |
− | _header_template = [[! No. | + | _header_template = [=[! No. |
| ! Rarity | | ! Rarity |
| ! style="width: 240px" | Name | | ! style="width: 240px" | Name |
Line 14: |
Line 15: |
| ${stat_columns} | | ${stat_columns} |
| ! style="width: 120px" | Classes | | ! style="width: 120px" | Classes |
− | ! Craft | + | ! [[File:Icon_Dev.png|Craftable]] |
− | ! <span class="explain" title="Improvable">★</span> | + | ! [[File:Icon_Imp.png|Improvable]] |
− | ! style="white-space:nowrap;" | Notes]], | + | ! style="white-space:nowrap;" | Notes]=], |
| _column_cell_templates = { | | _column_cell_templates = { |
| name = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color}; padding:5px 5px 5px 5px;" |${values.name}<br />${values.icon} ${values.japanese_name}]] | | name = [[| colspan="${colspan}" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color}; padding:5px 5px 5px 5px;" |${values.name}<br />${values.icon} ${values.japanese_name}]] |
Line 85: |
Line 86: |
| | | |
| function EquipmentListKai:buildable(equipment) | | function EquipmentListKai:buildable(equipment) |
− | return {values = {value = Formatting:format_boolean(equipment:buildable())}, bg_color = self._transparent, text_align = self._center_align} | + | return {values = {value = Formatting:format_boolean_short(equipment:buildable())}, bg_color = self._transparent, text_align = self._center_align} |
| end | | end |
| | | |
| function EquipmentListKai:improvable(equipment) | | function EquipmentListKai:improvable(equipment) |
− | return {values = {value = Formatting:format_boolean(equipment:improvable())}, bg_color = self._transparent, text_align = self._center_align} | + | return {values = {value = Formatting:format_boolean_short(equipment:improvable())}, bg_color = self._transparent, text_align = self._center_align} |
| end | | end |
| | | |