Module:Infobox/Specialist

local util_args = require('Module:ArgsUtil') local util_cargo = require("Module:CargoUtil") local util_html = require("Module:HtmlUtil") local util_map = require('Module:MapUtil') local util_table = require("Module:TableUtil") local util_text = require("Module:TextUtil") local util_vars = require("Module:VarsUtil") local i18n = require("Module:I18nUtil")

local lang = mw.getLanguage('en') local m_team = require('Module:Team')

local Infobox = require('Module:Infobox'):extends

Infobox.LAYOUT = { tabs = nil, sections = { 'Information', 'Competitive' }, contents = { { 'releasedate', 'game', 'developer', 'name', 'gender', 'weapon', 'ability', 'equipment' }, { 'compsdate', 'compedate' }, }, }

Infobox.type = 'Specialist'

local h = {} local p = {} function p.main(frame) local args = util_args.merge return Infobox(args):run end

function Infobox:validateArgs(args) end

function Infobox:getProcessed(args) local processed = self:super('getProcessed', args) local tbl = { }	return util_table.merge(processed, tbl) end

function Infobox:getDisplay(args, processed) local display = self:super('getDisplay', args, processed) local tbl = { }	return Infobox.mergeDisplay(display, tbl) end

function Infobox:getCargo(args, processed) local cargo = self:super('getCargo', args, processed) if util_args.castAsBool(args.nocargo) then return cargo end local tbl = { -- {		-- 	_table = "", -- }	}	return util_table.mergeArrays(cargo, tbl) end

function Infobox:getCategories(args, processed) local categories = self:super('getCategories', args, processed) local tbl = { }	return util_table.mergeArrays(categories, tbl) end

function Infobox:getVariables(args, processed) local variables = self:super('getVariables', args, processed) local tbl = { }	return util_table.merge(variables, tbl) end

return p