Changes

style tweaks
Line 9: Line 9:  
_table_start = [[{| class="wikitable"]],
 
_table_start = [[{| class="wikitable"]],
 
_row_starter = "|-",
 
_row_starter = "|-",
_header_template = [[!No.
+
_header_template = [[! No.
!Rarity
+
! Rarity
!Name
+
! Name
!Type
+
! style="width: 120px" | Type
 
${stat_columns}
 
${stat_columns}
!Classes
+
! style="width: 100px" | Classes
!Craftable
+
! Craftable
! style="white-space:nowrap;width:130px;" |Notes]],
+
! style="white-space:nowrap;width:130px;" | Notes]],
_column_header_cell_template = "!${value}",
+
_column_header_cell_template = "! ${value}",
 
_column_cell_templates = {
 
_column_cell_templates = {
 
name = [[| colspan="1" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color};" |${values.name}<br />${values.icon} ${values.japanese_name}]]
 
name = [[| colspan="1" rowspan="${rowspan}" style="text-align: ${text_align}; background-color: ${bg_color};" |${values.name}<br />${values.icon} ${values.japanese_name}]]
Line 127: Line 127:     
function EquipmentListKai:equipment_type(equipment)
 
function EquipmentListKai:equipment_type(equipment)
return {values = {value = Formatting:format_equipment_type(equipment:type())}, bg_color = self._transparent, text_align = self._start_align}
+
return {values = {value = Formatting:format_equipment_type(equipment:type())}, bg_color = self._transparent, text_align = self._center_align}
 
end
 
end
   Line 278: Line 278:     
function EquipmentListKai:buildable(equipment)
 
function EquipmentListKai:buildable(equipment)
return {values = {value = Formatting:format_boolean(equipment:buildable())}, bg_color = self._transparent, text_align = self._start_align}
+
return {values = {value = Formatting:format_boolean(equipment:buildable())}, bg_color = self._transparent, text_align = self._center_align}
 
end
 
end
  
Anonymous user