Module:ChampionClass

local Class = require('Module:Class').Class local MarkupObject = require('Module:MarkupObjectClass')

local Champion = Class(MarkupObject)

function Champion:new(str, opts) self:super(str, 'Champion', opts) if self.unknown then error('Unrecognized champion name: ' .. tostring(str)) end self.vars.exception = false self.defaultlength = 'display' self.imagesizes = { display = 25 } end

return Champion