User:Ras52/Ahnentafel

From Wikipedia, the free encyclopedia

This template is part of User:Ras52's sandbox. It is part of an experiment to see whether we can improve the way in which ancestry tables are handled. It is still incomplete, and no doubt buggy, however if you would like to discuss it, feel free to comment on the proposal's talk page.
[edit] Documentation

[edit] Usage

[edit] Referencing data pages

The simplest use case is when the person in question is person #1 in an Ahnentafel data file, for example, User:Ras52/Ahnentafel data House of Tudor which is rooted at Edward VI of England. In this case, the Ahnentafel is generated by:

{{User:Ras52/Ahnentafel|1 src=House of Tudor}}

The same data file can be used to generate the ancestry page of Edward's father, Henry VIII of England, who is person #2 in that data file.

{{User:Ras52/Ahnentafel|1 src=House of Tudor|1 src offset=2}}

There is a similar data page for Charles V.

And we can reuse this with Edward VI's half-sister, Mary I of England:

{{User:Ras52/Ahnentafel
   |1=[[Mary I of England]]
   |2 src=House of Tudor|2 src offset=2
   |3=[[Catherine of Aragon]]
   |6 src=Charles V, Holy Roman Emperor|6 src offset=6
   |7 src=Charles V, Holy Roman Emperor|7 src offset=7}}

[edit] See also