Module:CombinedFleet

local Ship = require("Module:Ship") local Equipment = require("Module:Equipment") local Formatting = require("Module:Formatting") local format = require("Module:StringInterpolation").format

local Functions = require("Module:NanaminFunctions")

local CombinedFleet = { _rows = {}, _ship_list = {}, _table_start = {|, _table_end = |}, _row_starter = "|-", _transparent = "transparent", _ship_image_bg = "#7FB8D6", _equip_icon_bg = "#8DCDEE", _equip_link_bg = "#E4F3FB", _equip_locked_bg = "#CDDBE2", _equip_icon_size = "22x22px", _center_align = "center", _header_top = <div class="mw-customtoggle-${toggle_class}" style="width: 615px; background: , _header_mid = <div class="mw-customtoggle-${toggle_class}" style="width: 615px; background: , _header_bot = <div style="width: 615px; background: , _ship_image_template = ${values.ship_image}, _equip_icon_template = ${values.equip_icon}, _equip_link_template = ${values.equip_link}, _info_template = ${values.label}: ${values.text} , _id = "", _fighter_power = 0, _elos = 0, _hq_level = 0 }

function CombinedFleet:organize_args local entries = {} for _, entry in ipairs(self._args) do       if mw.ustring.sub(entry, 1, 1) == "#" then elseif entry == "-" then else end end end

function CombinedFleet:Fleetbox(args) self._args = args self:generate_id self:organize_args return table.concat(self._rows, '\n') end

return CombinedFleet