This template computes the Coefficient of Inbreeding (CoI) and adds it as a property to a person's page.
The CoI is computed for siblings, first cousins, second cousins, third cousins, aunts, uncles, nephews, nieces, first cousins once removed, first cousins twice removed, and second cousins once removed. Farther relations cannot be computed because of limits on query depth.
Note that the definition is recursive. The CoI will not be correct unless the CoI of both parents are correct.
Note that the computation uses the descendant lists of all ancestors up to the sixth generation. The CoI may not be correct if ancestors are missing or their descendant lists incomplete.