Template talk:Ahnentafel-compact5

From Wikipedia, the free encyclopedia

[edit] New version?

What do people think about {{User:Ras52/Ahnentafel-compact5}} is a possible replacement for this template?

In the case that each ancestor, 1–31, is specified, it will do exactly the same as the current template, so it is backwards compatible with the existing version. However, it also copes with missing ancestors, and instead of displaying {{{n}}} (as the current template does), it omits that fragment of the tree, and compresses the remaining part. For example, the following could be used on William the Conqueror's page:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
William I of Normandy
 
 
 
 
 
 
 
Richard I of Normandy
 
 
 
 
 
 
 
 
 
 
 
Sprota
 
 
 
 
 
 
 
Richard II, Duke of Normandy
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Gunnora, Duchess of Normandy
 
 
 
 
 
 
 
 
 
 
 
Robert II, Duke of Normandy
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Judicael Berengar
 
 
 
 
 
 
 
Conan I of Rennes
 
 
 
 
 
 
 
 
 
 
 
Judith
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Geoffrey I of Anjou
 
 
 
 
 
 
 
Ermengarde of Anjou
 
 
 
 
 
 
 
 
 
 
 
Adele of Meaux
 
 
 
 
 
 
 
William I of England
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Fulbert of Falaise
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Herleva
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

The main disadvantage of this is that it increases the complexity of template by adding a lot of parser functions — those are the things that look like {{{#if:{{{1|}}}|...}}. These don't complicate the HTML produced, but they do make the template a real sod to edit.

A couple of caveats: you can't omit one person and include an ancestor of that person (e.g. omit 2 but include 4), but you can always put 2= ''Unknown'', or similar, in that situation. Also, you can't omit person 1. But I don't think either of these are really going to be issues.

Anyway, what do people think? — ras52 22:35, 21 August 2007 (UTC)

No comments, so I'll be bold and change it. — ras52 11:06, 27 August 2007 (UTC)