local p = {}

function p.parse(frame)

local a = string.gsub(frame.args[1], "(%w*)([:.])(%w*)", function(type,_,subtype)
    if (type == "player") then
        return "(player's " .. subtype .. ")"
    elseif (type == "verb" or type == "pronouns") then
        return "{{Grammar|subtype|" .. frame.args[2] .. "}}"
    else 
        return "ERROR: Could not parse!"
    end
return "error"
end)
return a
end

return p