Changes

m
no edit summary
Line 14: Line 14:  
     ! style="background-color: lightskyblue;" |Ship
 
     ! style="background-color: lightskyblue;" |Ship
 
     ! style="background-color: lightskyblue;" |Equipment]],
 
     ! style="background-color: lightskyblue;" |Equipment]],
    --[=[
   
     _column_cell_templates = {
 
     _column_cell_templates = {
 
         ship = [[| rowspan="4" style="background: whitesmoke;" |${values.ship_card}]],
 
         ship = [[| rowspan="4" style="background: whitesmoke;" |${values.ship_card}]],
         equips = [[| style="background: whitesmoke;" |${values.equips}]]
+
         equips = [[| style="background: whitesmoke;" |${values.equips}]],
 +
        ship2 = [[| rowspan="4" style="background: whitesmoke;" |${values.ship_card}]],
 +
        equips2 = [[| style="background: whitesmoke;" |${values.equips}]]
 
     },
 
     },
    --]=]
  −
    _cell = [[${values.value}]],
   
     _columns = {
 
     _columns = {
 
         "ship",
 
         "ship",
Line 42: Line 41:  
         value = ShipCardKai:card{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]:name()}
 
         value = ShipCardKai:card{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]:name()}
 
     end
 
     end
     return {values = {value = value}, bg_color = self._transparent, text_align = self._center_align}
+
     return {values = {ship_card = value}, bg_color = self._transparent, text_align = self._center_align}
 
end
 
end
   Line 52: Line 51:  
function NanaminFleet:equips(row)
 
function NanaminFleet:equips(row)
 
     local value = "|-|Lol|-|Lol2|-|Lol3|-|Lol4"
 
     local value = "|-|Lol|-|Lol2|-|Lol3|-|Lol4"
     return {values = {value = value}, bg_color = self._equip_bg, text_align = self._center_align}
+
     return {values = {equips = value}, bg_color = self._equip_bg, text_align = self._center_align}
 
end
 
end
  
48

edits