Help:Family trees: Difference between revisions

Content deleted Content added
→‎Ahnentafel: Death date
syntaxhighlight lang="wikitext"
Line 22:
Ahnentafels can be displayed as horizontal trees using [[Template:Ahnentafel]]:
 
<syntaxhighlight lang="moinwikitext">
{{ahnentafel
|collapsed=yes |align=center
Line 100:
 
{{tlx|Tree chart}} can also be used to create a Continental European style bottom to top layout for an [[Ahnentafel]] tree, or just as easily a top down (not shown)
<syntaxhighlight lang="moinwikitext">
{{Chart top|width=100%|European style family tree bottom to top (William, Prince of Wales)}}
{{Tree chart/start|align=center}}
Line 149:
=== Ahnentafel-chart ===
A similar use of {{tlx|Tree chart}} can be used to construct a top down tree, but there is a template ({{tlx|Ahnentafel-chart}}) that can be used to display bottom-up or top-down family trees using {{tlx|Tree chart}} that is simpler to construct:
<syntaxhighlight lang="moinwikitext">
{{Chart top|width=100%|European style family tree bottom to top (William, Prince of Wales)}}
{{Ahnentafel-chart|top_down=1
Line 203:
Each branch of the tree is built using nested lists:
 
<syntaxhighlight lang="tidwikitext">
{{hidden begin|border=1px #aaa solid|title=Demonstration tree|ta1=center}}
{{Tree list}}
Line 231:
===Ahnentafel-tree===
The template {{tlx|ahnentafel-tree}} uses {{tlx|Tree list}} and will handle up to an ahnentafel of 511 places (9&nbsp;generations), but will also display as little as one generation.
<syntaxhighlight lang="wikitext">
<pre>
{{Ahnentafel-tree
|title=Parents of subject
|1=''subject''
|2=''father''
|3=''mother''
}}
</syntaxhighlight>
</pre>
{{Ahnentafel-tree
|title=Parents of subject