• 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 21: Line 21:  
      
 
      
 
     _ship_image_template = [[| colspan="2" style="background-color: #BDACA0; height: 50px;" mode="packed" |<div style="float: left; margin-top: 7px; margin-left: 3px;">${position_image}</div>${ship_card}]],
 
     _ship_image_template = [[| colspan="2" style="background-color: #BDACA0; height: 50px;" mode="packed" |<div style="float: left; margin-top: 7px; margin-left: 3px;">${position_image}</div>${ship_card}]],
     _equip_template = [[| style="height: 46px; text-align: center; background-color: #BDACA0;" |${equip_icon}
+
     _equip_template = [[| style="height: 46px; min-width: 22px; text-align: center; background-color: #BDACA0;" |${equip_icon}
 
| style="width: 175px; text-align: center; background: #E3D6C9;" |${equip_link}]],
 
| style="width: 175px; text-align: center; background: #E3D6C9;" |${equip_link}]],
 
     _info_template = [[| style="background-color: #363636; height: 25px; width: 611px;" |
 
     _info_template = [[| style="background-color: #363636; height: 25px; width: 611px;" |
Line 133: Line 133:  
         for a = 1, 3 do
 
         for a = 1, 3 do
 
             local ship = ships["ship" .. a]
 
             local ship = ships["ship" .. a]
             local ship_card = Formatting:format_image{ship:battle_card() or self._blank_battle_card, link = ship:link(), caption = ship:name(), align = "center"}
+
             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"},
48

edits

Navigation menu