Template:Married third cousin test

If the person and spouse share a common great-great-grandparent, then autocat as Category:Married third cousin