Template:Ahnentafel-tree/doc

Usage
This template uses the template to build an ancestry tree using Ahnentafel numbering. Currently it will create a tree down to 511 Ahnentafel places. However it can be filled out to any arbitrary number. To do this add: For compatability with   can be substituted with unnamed parameters {{Ahnentafel-tree |1=subject |2=father |... Or {{Ahnentafel-tree |subject |father |...

If you only wanted to display down to the level of parents then: {{Ahnentafel-tree |title=Parents of subject |color_1=translucent |color_2=translucenti |r_1=subject |r_2=father |r_3=mother }} will suffice and the rest of the tree will not be displayed: {{Ahnentafel-tree |title=Parents of subject |color_1=translucent |color_2=translucent |r_1=subject |r_2=father |r_3=mother }}

If a male of a couple is given without a female then the female will be added as a blank and vice versa. This is to keep the tree looking complete with the correct indentation.

If neither male or female are added the couple will not appear.

The template is not idiot proof if you do not add a couple but do add their ancestors you will probably break the look of the tree. So add blanks consisting of dashes if you know the ancestors of a person but not the person's name (this can sometimes happen for wives eg "a daughter of Lord such and such").

Note: There seems to be a bug in the underlying software and the link from subject to mother breaks the tree graphic if there are more than about 6 generations (something to do with the number of entries rather than the depth).

Additional parameters to alter the look and feel
|title=title — defaults to "Ancestry of PAGENAME" |expanded=on — defaults to off can be set to "on" Sets background colour (translucent for no colour)= |color_1=colour — defaults to |color_2=colour — defaults to   |color_3=colour — defaults to  |color_4=colour — defaults to  |color_5=colour — defaults to  |color_6=colour — defaults to  |color_7=colour — defaults to  |color_8=colour — defaults to  |color_9=colour — defaults to

Sub templates

 * — main template for Ahnentafel-tree this allows default values to be set for parameters (such as colours) then to be used within the sub template.
 * — for background colour
 * Ahnentafel-tree/couple — see Ahnentafel-tree/couple/doc for a description of the six unnamed parameters.