Module:CountryClass

local util_vars = require("Module:VarsUtil")

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

p.objectType = 'Country' p.imagelength = 'name' p.defaultlength = 'name' p.cssClass = 'country-object' p.imagesizes = {} p.nosize = true

function p:name(opts) if self.is_nil then return nil end if not opts then opts = {} end if not opts.the then return self:super('name', opts) end if not self.vars.the then return self:super('name', opts) end return ('the ') .. self:super('name', opts) end

return p