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 = 'link'
p.defaultlength = 'link' -- this is what we store in cargo !!
-- p.cssClass = 'league-object'
p.imagesizes = {}
p.nosize = true
function p:init(str)
self:super('init', str)
if self.unknown then
self.vars = {
link = str,
long = str,
short = str,
image = 'Unknown Infobox Image - Tournament.png'
}
end
end
return p