Module:PhaseClass

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

local p = Class(MarkupObject)

function p:new(str) self:super(str, 'Phase') if str and self.unknown then self.vars.long = str self.vars.medium = str self.vars.short = str end self.defaultlength = 'long' end

function p:isgroups return self.vars.isgroups end

return p