Changes

no edit summary
Line 7: Line 7:  
local format = require('Module:StringInterpolation').format
 
local format = require('Module:StringInterpolation').format
   −
local EnemyShipListKai = BaseTable{
+
local EnemyShipListKai = BaseTable{--[[
_header_template = [[! style="width: 100px;" | Card
+
_header_template = ]]--[[! style="width: 100px;" | Card
 
! style="width: 75px;" | Name
 
! style="width: 75px;" | Name
 
! style="width: 30px; text-align: center; vertical-align: middle; background-color: pink;" | ${hp}
 
! style="width: 30px; text-align: center; vertical-align: middle; background-color: pink;" | ${hp}
Line 18: Line 18:  
! style="width: 30px; text-align: center; vertical-align: middle; background-color: violet;" | ${evasion}
 
! style="width: 30px; text-align: center; vertical-align: middle; background-color: violet;" | ${evasion}
 
! style="width: 250px; text-align: center; vertical-align: middle;" | Equipment
 
! style="width: 250px; text-align: center; vertical-align: middle;" | Equipment
! style="text-align:left;" | Notes]],
+
! style="text-align:left;" | Notes]]--,
_columns = {
+
--[[_columns = {
 
"card",
 
"card",
 
"name",
 
"name",
Line 31: Line 31:  
"equipment",
 
"equipment",
 
"notes",
 
"notes",
},
+
},]]--
_column_cell_templates = {
+
--_column_cell_templates = {
card = [[| style="text-align: ${text_align}; padding:5px 5px 5px 5px; background-color: ${bg_color};" |${value}]],
+
-- card = [[| style="text-align: ${text_align}; padding:5px 5px 5px 5px; background-color: ${bg_color};" |${value}]],
},
+
--},
_cell = [[| style="text-align: ${text_align}; padding:5px 5px 5px 5px;" |${value}]],
+
--_cell = [[| style="text-align: ${text_align}; padding:5px 5px 5px 5px;" |${value},
_item_class = EnemyShip,
+
--_item_class = EnemyShip,
_fragment_prefix = "enemyshiplistkai",
+
--_fragment_prefix = "enemyshiplistkai",
 
}
 
}
  
Anonymous user