Template:Ahnentafel/doc
![]() |
This is a documentation subpage for Template:Ahnentafel (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template takes genealogical data in the form of an ahnentafel and presents it as a graphical ancestry tree (realized as a collapsible HTML table). The template can be called using {{ahnentafel}} or {{pedigree chart}}.
The entries in the ahnentafel are given as numbered parameters to the template, and may contain arbitrary wikimarkup. In addition, the template accepts the following named parameters:
- title
- Title of the table. (default: Pedigree Chart).
- state
- Set the state of the collapsible table collapsed or uncollapsed. (default: collapsed}.
- 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.
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).