Template:AhnentafelEdit This Page

From FamilySearch Wiki

(Redirected from Template:Pedigree chart)
[view] [edit] [history] [purge] Documentation icon Template documentation

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 (1 up to 31), 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).

Example

You type (in the User namespace) You get
{{Ahnentafel
| state = uncollapsed
| 1 = Individual
| 2 = Father
| 3 = Mother
| 4 = Father's father
| 5 = Father's mother
| 6 = Mother's father
| 7 = Mother's mother
}}
Pedigree Chart
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Father's father
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Father
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Father's mother
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Individual
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mother's father
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mother
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mother's mother
 
 
 
 
 
 
 
 
 
 
 
 
 
  • This page was last modified on 31 January 2013, at 21:55.
  • This page has been accessed 2,095 times.