Permanently protected template

Template:Set order of Charlemagne

From Historical Hastings
Template documentation[view] [edit] [history] [purge]
Description
Sets the Property:Order of Charlemagne, that is, the generation number with Charlemagne (747-814) = 1; the generation number equals 1 plus the parent's generation number; in case of double descent, the lowest generation number is used.
Sets the Property:Similarity to Charlemagne, that is, the share of genes shared with Charlemagne (747-814). This equals 1/2^(generation number - 1) in case of single descent. In case of multiple descent, it equals half the father's similarity plus half the mother's.
The template also display the discrepancy between the generation number and the similarity. If that is 2 (4, 8), the person is genetically one (two, three) generation(s) closer to Charlemagne than the generation number suggests.
Syntax
This is part of {{SMW templates}}.