• 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
m
no edit summary
Line 92: Line 92:  
         self._fighter_power = Functions.add_to_fighter_power(self._fighter_power, equip, select(2, ship:slot(slot)))
 
         self._fighter_power = Functions.add_to_fighter_power(self._fighter_power, equip, select(2, ship:slot(slot)))
 
         self._elos = Functions.add_to_elos(self._elos, equip)
 
         self._elos = Functions.add_to_elos(self._elos, equip)
         equip_icon = Formatting:format_image{ Formatting:format_equipment_icon(equip:icon()), size = "22x22px" }
+
         equip_icon = Formatting:format_image{ Formatting:format_equipment_icon(equip:icon()), size = "22x22px", link = "" }
 
         equip_link = Formatting:format_link(equip:link())
 
         equip_link = Formatting:format_link(equip:link())
 
     end
 
     end
Line 136: Line 136:  
             local ship_card = Formatting:format_image{ship:battle_card() or self._blank_battle_card, link = ship:link(), caption = ship:name(), align = "center", size = "160x40px"}
 
             local ship_card = Formatting:format_image{ship:battle_card() or self._blank_battle_card, link = ship:link(), caption = ship:name(), align = "center", size = "160x40px"}
 
             table.insert(self._rows, format{self._ship_image_template,
 
             table.insert(self._rows, format{self._ship_image_template,
                 position_image = Formatting:format_image{"Ship position " .. tostring(i + a - 1) .. " icon.png"},
+
                 position_image = Formatting:format_image{"Ship position " .. tostring(i + a - 1) .. " icon.png", link = ""},
 
                 ship_card = ship_card,
 
                 ship_card = ship_card,
 
             })
 
             })
Line 206: Line 206:  
     self:generate_id()
 
     self:generate_id()
 
      
 
      
 +
    table.insert(self._rows, [[<div style="display: table; margin: 0 auto;">]])
 
     self:insert_top_header()
 
     self:insert_top_header()
 
     self:build_table("main")
 
     self:build_table("main")
Line 213: Line 214:  
     self:build_info_table()
 
     self:build_info_table()
 
     self:insert_bot_header()
 
     self:insert_bot_header()
 +
    table.insert(self._rows, [[</div>]])
 
      
 
      
 
     return table.concat(self._rows, '\n')
 
     return table.concat(self._rows, '\n')
48

edits

Navigation menu