Changes
no edit summary
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}
! 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",
"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}]],
},
--},
_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",
}
}