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 this will suffice: {{Ahnentafel-tree |title=Parents of subject |color_1=translucent |color_2=translucenti |r_1=subject |r_2=father |r_3=mother }} 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 the male of a couple is given without the female, then a blank will be inserted as a placeholder for the female; and likewise, for a missing male, when only the female is given. This is to keep the tree properly lined up, having the correct indentation.

If neither male nor 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 layout of the tree. Instead, leave them "blank" by typing dashes as placeholders whenever you have no information about a given person, but you do have info on that person's ancestors. (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 when there are more than about 6 generations (something to do with the flat number of entries, rather than the depth in generations).

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.