We're currently performing an overhaul of our entire tournament results system so results will be missing from team and player pages for a while, and there may be some errors on tournament pages. Please bear with us as we complete this update.

Module:Game

From Call of Duty Esports Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:Game/doc

local util_vars = require("Module:VarsUtil")

local p = require('Module:EntityAbstract'):extends()
local h = {}

p.objectType = 'Game'
p.imageDisplayLength = 'long'
p.imagelength = 'unique'
p.defaultlength = 'long' -- this is what we store in cargo !!
-- p.cssClass = 'league-object'
p.imagesizes = {}
p.nosize = true

function p:init(str)
	self:super('init', str, 'Item')
	if self.unknown then
		self.vars = {
			long = str,
			short = str,
			image = 'Unknown Infobox Image - Tournament.png'
		}
	end
end

return p