Template:Ahnentafel top
| This template is being discussed in accordance with Wikipedia's deletion policy. Help reach a consensus at its entry.
Maintenance use only: 1. Edit the Tfd log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Ahnentafel top}} ~~~~ on their talk page(s). |
| Ancestors of Ahnentafel top |
|---|
| This is the documentation for Template:Ahnentafel top, Template:Ahnentafel bottom, Template:Ahnentafel-compact4, Template:Ahnentafel-compact5, and Template:Ahnentafel-compact6. |
The Ahnentafel template is a family tree template.
This template takes genealogical data in the form of an ahnentafel and presents it as a graphical ancestry tree (realized as an HTML table). The entries in the ahnentafel are given as numbered parameters to the template, and may contain arbitrary wikimarkup.
Blank template
Blank template for {{ahnentafel-compact5}}, which includes five generations:
{{ahnentafel top|width=100%}}
{{ahnentafel-compact5
|style=font-size: 90%; line-height: 110%;
|align=center
|border=1
|boxstyle=padding-top: 0; padding-bottom: 0;
|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;
|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.
}}
{{ahnentafel bottom}}
The template accepts the following named parameters:
style- CSS style attributes to be applied to the entire table.
boxstyle- CSS style attributes to be applied to the boxes containing the entries.
border- Thickness of the borders around the boxes in pixels (default: 2).
boxstyle_1,boxstyle_2, ...- CSS style attributes to be applied to the boxes in a given column.
border_1,border_2, ...- Thickness of the borders around the boxes in a given column.
align- Alignment of the chart: left, right, center
The column-specific style attributes are included after (and thus override) the generic ones, which are included after the default styles and the border thickness specified by the border parameter(s).
See also
- Wikipedia:Family trees — for alternatives
- Similar ahnentafel templates:
{{ahnentafel top}}and{{ahnentafel bottom}}— confines the table in a box and helps with formatting, colouring etc.{{ahnentafel-compact4}}— Four generations (an ahnentafel of 15 places){{ahnentafel-compact5}}— Five generations (an ahnentafel of 31 places), or less if less are provided.{{ahnentafel-compact6}}— Six generations (an ahnentafel of 63 places), or less if less are provided.
{{ahnentafel-tree}}uses{{Tree list}}and will handle up to an ahnentafel of 511 places (9 generations), but will also display as little as one generation.{{chart}}– can be used to build a bottom up, top down or right to left ahnentafel chart see Family trees § Chart template
| The above documentation is transcluded from Template:Ahnentafel top/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |