Module:League

From Leaguepedia | League of Legends Esports Wiki
Jump to: navigation, search

To edit the documentation or categories for this module, click here.


local util_vars = require("Module:VarsUtil")

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

p.objectType = 'League'
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 = {
			link = str,
			long = str,
			short = str,
			image = 'Unknown Infobox Image - Tournament.png'
		}
	end
end

return p