Template:Ahnentafel-chart

From Gerald R. Lucas
{{{2}}}{{{3}}}
{{{1}}}
Template documentation[view] [edit] [history] [purge]

Usage

Continental European style family tree of Sigmund Christoph von Waldburg-Zeil-Trauchburg

The template displays a Continental European style family tree: "bottom up" or "top down". Entries are added using ahnentafel numbering.

Parameters

{{Ahnentafel-chart
|1=subject
|2=father
|3=mother
|4=grandfather
...
31=great-great-grandmother
}}

N.B. Although this template will create a table up to great-great-grandparents (ahnentafel 31) it will be wider than easily represented on most screens and/or printers so consider using {{Ahnentafel}} or {{Ahnentafel-tree}} instead.

Optional parameters:

boxstyle_1=background-color:#fcc;
boxstyle_2=background-color:#fb9;
boxstyle_3=background-color:#ffc;
boxstyle_4=background-color:#bfc;
boxstyle_5=background-color:#9fe;
top_down= — inverses the "bottom up" template to be a "top down"
style_chart= — add style attritions to the table

Style works on the entries on each line

style_1=style — eg. style_1=font-style: italic; font-weight:bold;
....
style_31=style

Examples

{{chart top|collapsed=no|width=100%|Bottom up (default) third generation family tree (ahnentafel 7)}}
{{Ahnentafel-chart
|1=subject
|2=father
|3=mother
|4=paternal grandfather
|5=paternal grandmother
|6=maternal grandfather
|7=maternal grandmother
}}
{{chart bottom}}
Bottom up (default) third generation family tree (ahnentafel 7)
paternal grandfatherpaternal grandmothermaternal grandfathermaternal mother
fathermother
subject
{{chart top|collapsed=no||width=100%|Top down third generation family tree (ahnentafel 7}}
{{Ahnentafel-chart
|top_down=yes
|boxstyle_1=background-color: #bfc;
|boxstyle_2=background-color: #9fe;
|boxstyle_3=background-color: #ffc;
|1=subject
|2=father
|3=mother |4=paternal grandfather |5=paternal grandmother |6=maternal grandfather |7=maternal grandmother
}}
{{chart bottom}}
subject
fathermother
paternal grandfatherpaternal grandmothermaternal grandfathermaternal mother
{{chart top|collapsed=no|width=100%|Family tree with numbers (ahnentafel 31)}}
{{Ahnentafel-chart
|boxstyle_1=background-color: #bfc;
|boxstyle_2=background-color: #9fe;
|boxstyle_3=background-color: #ffc;
|boxstyle_4=background-color: #fcc;
|boxstyle_5=background-color: #fb9;
|1=1. 
|2=2. |3=3. 
|4=4. |5=5. |6=6. |7=7.
|8=8. |9=9. |10=10. |11=11. |12=12. |13=13. |14=14. |15=15.
|16=16. |17=17. |18=18. |19=19. |20=20. |21=21. |22=22. |23=23.
|24=24. |25=25. |26=26. |27=27. |28=28. |29=29. |30=30. |31=31.
}}
{{chart bottom}}
Family tree with numbers (ahnentafel 31)
16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.
8.9.10.11.12.13.14.15.
4.5.6.7.
2.3.
1.