Help:Family trees: Difference between revisions

Content deleted Content added
PBS (talk | contribs)
PBS (talk | contribs)
A large rewrite
Line 4:
 
== Ahnentafel ==
:''Main|{{tlx|Ahnentafel-compact5}}''
 
The simplest way to include a list of ancestors is the [[Ahnentafel]]. This is a standard for genealogists, but it is hard to understand for people who have not seen it before.
 
Line 14:
# [[John Spencer, 8th Earl Spencer]] (24 January 1924 – 29 March 1992)
# [[Frances Shand Kydd|The Hon Mrs Shand Kydd]] née The Hon Frances Roche (20 January 1936 – 3 June 2004)
# ...
# [[Prince Andrew of Greece and Denmark|HRH Prince Andrew of Greece and Denmark]] (20 January 1882 – 3 December 1944)
# [[Princess Alice of Battenberg|HRH Princess Andrew of Greece and Denmark]] née HSH Princess Alice of Battenberg (25 February 1885 – 5 December 1969)
# [[George VI of the United Kingdom|HM King George VI of the United Kingdom]] (14 December 1895 – 6 February 1952)
# [[Elizabeth Bowes-Lyon|HM Queen Elizabeth, The Queen Mother]] née Lady Elizabeth Bowes-Lyon (4 August 1900 – 30 March 2002)
# [[Albert Spencer, 7th Earl Spencer]] (23 May 1892 – 9 June 1975)
# [[Cynthia Spencer, Countess Spencer]] née Lady Cynthia Hamilton (16 August 1897 – 4 December 1972)
# [[Maurice Roche, 4th Baron Fermoy]] (15 May 1885 – 8 July 1955)
# [[Ruth Roche, Baroness Fermoy]] née Miss Ruth Gill (2 October 1908 – 6 July 1993)
 
Ahnentafels can be displayed as horizontal trees using a number of templates. See [[Template:Ahnentafel/doc]]. For example, with {{tl|Ahnentafel-compact5}}:
 
<pre>
{{ahnentafel-compact5
{{ahnentafel top|width=100%|Ancestry tree of William, Prince of Cambridge}}
{{Ahnentafel-compact5
|style=font-size: 90%; line-height: 110%;
|border=1
|align=center
|boxstyle=padding-top: 0; padding-bottom: 0;
|boxstyle_1=background-color: #fcc;
Line 34 ⟶ 30:
|boxstyle_4=background-color: #bfc;
|boxstyle_5=background-color: #9fe;
|1. '''[[Prince William, Duke of Cambridge]]'''
|1= 1. '''Charlemagne'''
|2= 2. [[PepinCharles, Prince theof ShortWales]]
|3= 3. [[BertradaDiana, Princess of LaonWales|Lady Diana Spencer]]
|4. [[Prince Philip, Duke of Edinburgh|Prince Philip of Greece and Denmark]]
|4= 4. [[Charles Martel]]
|5= 5. [[RotrudeElizabeth II|Elizabeth II of Trierthe United Kingdom]]
|6= 6. [[CaribertJohn Spencer, 8th ofEarl LaonSpencer]]
|7. [[Frances Shand Kydd|The Honourable Frances Roche]]
|7= 7. [[Bertrada of Cologne]]
|8= 8. [[PepinPrince Andrew of HerstalGreece and Denmark]]
|9= 9. [[AlpaidaPrincess Alice of Battenberg]]
|10. [[George VI|George VI of the United Kingdom]]
|10= 10. [[Leudwinus]]
|11. [[Queen Elizabeth The Queen Mother|Lady Elizabeth Bowes-Lyon]]
|11= 11. d. of Chrodobertus II
|12= 12. [[MartinAlbert Spencer, 7th ofEarl LaonSpencer]]
|13. [[Cynthia Spencer, Countess Spencer|Lady Cynthia Hamilton]]
|13= 13. [[Bertrada of Prüm]]
|14. [[Maurice Roche, 4th Baron Fermoy]]
|16= 16. [[Ansegisel]]
|15. [[Ruth Roche, Baroness Fermoy|Ruth Gill]]
|17= 17. [[Begga]]
|18= 1816. [[DodoGeorge (ancestorI of Charlemagne)|DodoGreece]]
|17. [[Olga Constantinovna of Russia|Grand Duchess Olga Constantinovna of Russia]]
|20= 20. [[Warinus]]
|21= 2118. [[KunzaPrince Louis of MetzBattenberg]]
|19. [[Princess Victoria of Hesse and by Rhine]]
|22= 22. [[Chrodobertus II]]
|23= 2320. [[DodaGeorge (ancestorV|George V of Charlemagne)|Dodathe United Kingdom]]
|21. [[Mary of Teck|Princess Mary of Teck]]
|24= 24. [[Ansegisel]] (=16)
|22. [[Claude Bowes-Lyon, 14th Earl of Strathmore and Kinghorne]]
|25= 25. [[Begga]] (=17)
|23. [[Cecilia Bowes-Lyon, Countess of Strathmore and Kinghorne|Cecilia Cavendish-Bentinck]]
|24. [[Charles Spencer, 6th Earl Spencer]]
|25. [[Margaret Spencer, Countess Spencer|The Honourable Margaret Baring]]
|26. [[James Hamilton, 3rd Duke of Abercorn]]
|27. [[Rosalind Hamilton, Duchess of Abercorn|Lady Rosalind Cecilia Bingham]]
|28. [[James Roche, 3rd Baron Fermoy]]
|29. [[Frances Work]]
|30. William Smith Gill
|31. Ruth Littlejohn
}}
{{Ahnentafel bottom}}</pre>
 
{{ahnentafel top|width=100%|Ancestry tree of Prince of Cambridge |collapsed=no}}
== Ancestry chart (left to right) ==
{{Ahnentafel-compact5
|style=font-size: 90%; line-height: 110%;
|border=1
|align=center
|boxstyle=padding-top: 0; padding-bottom: 0;
|boxstyle_1=background-color: #fcc;
|boxstyle_2=background-color: #fb9;
|boxstyle_3=background-color: #ffc;
|boxstyle_4=background-color: #bfc;
|boxstyle_5=background-color: #9fe;
|1. '''[[Prince William, Duke of Cambridge]]'''
|2. [[Charles, Prince of Wales]]
|3. [[Diana, Princess of Wales|Lady Diana Spencer]]
|4. [[Prince Philip, Duke of Edinburgh|Prince Philip of Greece and Denmark]]
|5. [[Elizabeth II|Elizabeth II of the United Kingdom]]
|6. [[John Spencer, 8th Earl Spencer]]
|7. [[Frances Shand Kydd|The Honourable Frances Roche]]
|8. [[Prince Andrew of Greece and Denmark]]
|9. [[Princess Alice of Battenberg]]
|10. [[George VI|George VI of the United Kingdom]]
|11. [[Queen Elizabeth The Queen Mother|Lady Elizabeth Bowes-Lyon]]
|12. [[Albert Spencer, 7th Earl Spencer]]
|13. [[Cynthia Spencer, Countess Spencer|Lady Cynthia Hamilton]]
|14. [[Maurice Roche, 4th Baron Fermoy]]
|15. [[Ruth Roche, Baroness Fermoy|Ruth Gill]]
|16. [[George I of Greece]]
|17. [[Olga Constantinovna of Russia|Grand Duchess Olga Constantinovna of Russia]]
|18. [[Prince Louis of Battenberg]]
|19. [[Princess Victoria of Hesse and by Rhine]]
|20. [[George V|George V of the United Kingdom]]
|21. [[Mary of Teck|Princess Mary of Teck]]
|22. [[Claude Bowes-Lyon, 14th Earl of Strathmore and Kinghorne]]
|23. [[Cecilia Bowes-Lyon, Countess of Strathmore and Kinghorne|Cecilia Cavendish-Bentinck]]
|24. [[Charles Spencer, 6th Earl Spencer]]
|25. [[Margaret Spencer, Countess Spencer|The Honourable Margaret Baring]]
|26. [[James Hamilton, 3rd Duke of Abercorn]]
|27. [[Rosalind Hamilton, Duchess of Abercorn|Lady Rosalind Cecilia Bingham]]
|28. [[James Roche, 3rd Baron Fermoy]]
|29. [[Frances Work]]
|30. William Smith Gill
|31. Ruth Littlejohn
}}
{{Ahnentafel bottom}}
 
Ancestry trees are usually displayed collapsed to alter that so they display expanded add the parameter: <code>|collapsed=no</code> to {{tlx|ahnentafel top}}
This is how ancestry charts are often displayed in the U.S., using {{Tl|Ahnentafel4}}:
 
== Chart template ==
{{Ahnentafel4|Albert, Prince Consort|Ernest I, Duke of Saxe-Coburg and Gotha|Princess Louise of Saxe-Gotha-Altenburg (1756–1808)|Francis, Duke of Saxe-Coburg-Saalfeld|Countess Augusta Reuss of Ebersdorf|Augustus, Duke of Saxe-Gotha-Altenburg|Duchess Louise Charlotte of Mecklenburg-Schwerin|Ernest Frederick, Duke of Saxe-Coburg-Saalfeld|Duchess Sophie Antoinette of Brunswick-Wolfenbüttel|Heinrich XXIV, Count Reuss of Ebersdorf|Countess Karoline Ernestine of Erbach-Schönberg|Ernest II, Duke of Saxe-Gotha-Altenburg|Princess Charlotte of Saxe-Meiningen|Frederick Francis I, Grand Duke of Mecklenburg|Princess Louise of Saxe-Gotha-Altenburg (1800–1831)}}
:''Main {{tlx|Chart}}''
[[Template:Chart]] can be used to construct simple (or incredibly complex: see [[Japanese imperial family tree]]) using an ASCII art-like syntax:
 
<pre>{{chart top|My family tree}}
== Ancestry chart (bottom to top) ==
{{chart/start|align=center}}
{{chart| | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{chart| | | | | | | |)|-|-|-|.| }}
{{chart| | | MUM |y| DAD | |DAISY| MUM=Mum|DAD=Dad|DAISY=Aunt Daisy}}
{{chart| |,|-|-|-|+|-|-|-|.| | | }}
{{chart| JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|SIS=My little sister}}
|boxstyle_ ME=background-color: #bfc;}}
{{chart/end}}
{{chart bottom}}</pre>
 
{{chart top|My family tree|collapsed=no}}
In Europe, ancestry charts are more often shown bottom-to-top.
{{chart/start|align=center}}
{{chart| | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{chart| | | | | | | |)|-|-|-|.| }}
{{chart| | | MUM |y| DAD | |DAISY| MUM=Mum|DAD=Dad|DAISY=Aunt Daisy}}
{{chart| |,|-|-|-|+|-|-|-|.| | | }}
{{chart| JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|SIS=My little sister
|boxstyle_ ME=background-color: #bfc;}}
{{chart/end}}
{{chart bottom}}
 
{{tlx|Chart}} can also be used to create a European style bottom to top layout:
<!--copied from Template:Tree31-->
<pre>
<!--==5 generation, bottom-to-top==-->
{{chart top|European style family tree bottom to top (William, Prince of Cambridge)}}
{{chart/start|align=center}}
{{chart|boxstyle=background-color: #ffc;|PP|v|EI| |JS|v|FS
|PP=4. [[Prince Philip, Duke of Edinburgh|Prince Philip of Greece and Denmark]]
|EI=5. [[Elizabeth II|Elizabeth II of the United Kingdom]]
|JS=6. [[John Spencer, 8th Earl Spencer]]
|FS=7. [[Frances Shand Kydd|The Honourable Frances Roche]]}}
{{chart| | | |!| | | | | | | |!}}
{{chart|boxstyle=background-color: #fb9;| | |CP |-|-|v|-|-|DP
|CP=2. [[Charles, Prince of Wales]]|DP=3. [[Diana, Princess of Wales|Lady Diana Spencer]]}}
{{chart| | | | | | | |!}}
{{chart|boxstyle=background-color: #fcc;| | | | | | |PW |PW=1.'''[[Prince William, Duke of Cambridge]]'''}}
{{chart/end}}
{{chart bottom}}
</pre>
 
{{chart top|European style family tree bottom to top (William, Prince of Cambridge)|collapsed=no}}
{|border="1" cellpadding="5" cellspacing="0" align="center"
{{chart/start|align=center}}
|-
{{chart|boxstyle=background-color: #ffc;|PP|v|EI| |JS|v|FS
|<center>{{{16}}}</center>
|PP=4. [[Prince Philip, Duke of Edinburgh|Prince Philip of Greece and Denmark]]
|<center>{{{17}}}</center>
|EI=5. [[Elizabeth II|Elizabeth II of the United Kingdom]]
|<center>{{{18}}}</center>
|JS=6. [[John Spencer, 8th Earl Spencer]]
|<center>{{{19}}}</center>
|FS=7. [[Frances Shand Kydd|The Honourable Frances Roche]]
|<center>{{{20}}}</center>
}}
|<center>{{{21}}}</center>
{{chart| | | |!| | | | | | | |!}}
|<center>{{{22}}}</center>
{{chart|boxstyle=background-color: #fb9;| | |CP |-|-|v|-|-|DP
|<center>{{{23}}}</center>
|CP=2. [[Charles, Prince of Wales]]|DP=3. [[Diana, Princess of Wales|Lady Diana Spencer]]}}
|<center>{{{24}}}</center>
{{chart| | | | | | | |!}}
|<center>{{{25}}}</center>
{{chart|boxstyle=background-color: #fcc;| | | | | | |PW |PW=1.'''[[Prince William, Duke of Cambridge]]'''}}
|<center>{{{26}}}</center>
{{chart/end}}
|<center>{{{27}}}</center>
{{chart bottom}}
|<center>{{{28}}}</center>
 
|<center>{{{29}}}</center>
Trees using {{tlx|chart}} are usually displayed collapsed to alter that so they display expanded add the parameter: <code>|collapsed=no</code> to {{tlx|chart top}}
|<center>{{{30}}}</center>
 
|<center>{{{31}}}</center>
'''Note:''' [[Template:Familytree]] has been deprecated in favor of [[Template:Chart]], which has more features.
|-
|colspan=2| <center>{{{8}}}</center>
|colspan=2| <center>{{{9}}}</center>
|colspan=2| <center>{{{10}}}</center>
|colspan=2| <center>{{{11}}}</center>
|colspan=2| <center>{{{12}}}</center>
|colspan=2| <center>{{{13}}}</center>
|colspan=2| <center>{{{14}}}</center>
|colspan=2| <center>{{{15}}}</center>
|-
|colspan=4| <center>{{{4}}}</center>
|colspan=4| <center>{{{5}}}</center>
|colspan=4| <center>{{{6}}}</center>
|colspan=4| <center>{{{7}}}</center>
|-
|colspan=8| <center>{{{2}}}</center>
|colspan=8| <center>{{{3}}}</center>
|-
|colspan=16| <center>{{{1}}}</center>
|}
 
==Tree list==
Line 115 ⟶ 180:
Each branch of the tree is built using nested lists. In order to display the final branches properly, it is necessary to use the template {{tl|Tree list/final branch}} like so:
 
<pre>{{Tree list}}
{{hidden begin|border=1px #aaa solid|title=Demonstration tree|ta1=center}}
{{Tree list}}
* A first level branch
** A second level branch
Line 123 ⟶ 190:
** Another second level branch
** {{Tree list/final branch}} The final second level branch
{{Hidden end}}
{{Tree list/end}}</pre>
 
which produces
{{hidden begin|border=1px #aaa solid|title=Demonstration tree|ta1=center|expanded=true}}
{{Tree list}}
* A first level branch
Line 135 ⟶ 204:
** {{Tree list/final branch}} The final second level branch
{{Tree list/end}}
{{Hidden end}}
 
For an example see the following template link {{tlx|Houston family tree}}. For more details on this method see the following template link {{tlx|Tree list}}
 
Trees using {{tlx|Tree list}} are usually displayed collapsed to alter that so they display expanded add the parameter: </code>|expanded=true</code> to {{tlx|hidden begin}}
== ASCII art ==
 
== Tables ==
:''Main [[Help:Table]]''
A family tree can also be displayed using [[Help:Table|tables]], by showing borders on selected cells ''(note that this does not work properly on all browsers)''.
 
This is a family tree using tables for [[House Tully]]:
{{Wikipedia:Family trees/House Tully 1}}
 
To fully understand how it works, this is the same table with ''all'' table borders:
{{Wikipedia:Family trees/House Tully 2}}
 
== ASCII art ==
Here is the family tree of [[House Baratheon]]:
 
Line 169 ⟶ 250:
''Myrcella'' Stone Storm
 
Although this method was common on Wikipedia in the past, ASII trees are [[deprecated]] for two reasons. Large fix-width ASCII templates can cause formating problems on small screens. Secondly because the tables rely on fixed width fonts, they alignment is easily broken by inexperienced editors removing some of the leading spaces, or by characters having different widths. For example in the second tree above although it uses characters in the same place as those in the first one in this section, and there are slight misalignments because the charter widths of "=" and "─" are slightly different.
(And see [[Family tree of the Greek gods]]).
 
When this section was originally written an example in article space provided: [[Family tree of the Greek gods]]. The last ASCII version of that table had problems with alignment (see [https://en.wikipedia.org/w/index.php?title=Family_tree_of_the_Greek_gods&oldid=95374094 Revision of 19 December 2006]). It was replaced with one based on the familytree templates (the forerunner of {{tl|chart}} templates) on [https://en.wikipedia.org/w/index.php?title=Family_tree_of_the_Greek_gods&oldid=97492352 31 December 2006].
== Tables ==
A family tree can also be displayed using [[Help:Table|tables]], by showing borders on selected cells ''(note that this does not work properly on all browsers)''.
 
If you wish to add a family tree to an article but only feel that you could do so using an ASCII layout then add it using ASCII. However it you add one, or come across an ASCII table in an article that has not been converted, then please ask for help at the [[Wikipedia:Help desk|Help desk]] for an editor to help you convert it to one of the alternative formats presented on this page.
This is a family tree using tables for [[House Tully]]: <br><br>
{{Wikipedia:Family trees/House Tully 1}}
<br><br>
To fully understand how it works, this is the same table with ''all'' table borders: <br><br>
{{Wikipedia:Family trees/House Tully 2}}
<br><br>
 
== Image file ==
Line 186 ⟶ 261:
 
A major disadvantage of this method is that if the initial image does not meet the requirements of the [[Wikipedia:Verifiability|Verifiability Policy]] it can be extremely difficult to add the necessary in-line citations to meet those requirements. This means that the whole tree may be removed and under the Verifiability Policy can not be restored to an article unless it meets the requirements of the policy (see [[WP:BURDEN|Responsibility for providing citations]]).
 
== Template ==
 
[[Template:Chart]] can be used to construct simple (or incredibly complex: see [[Japanese imperial family tree]]) table-based family trees using an ASCII art-like syntax:
 
{{chart/start}}
{{chart| | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{chart| | | | | | | |)|-|-|-|.| }}
{{chart| | | MUM |y| DAD | |DAISY| MUM=Mum|DAD=Dad|DAISY=Aunt Daisy}}
{{chart| |,|-|-|-|+|-|-|-|.| | | }}
{{chart| JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|SIS=My little sister}}
{{chart/end}}
 
'''Note:''' [[Template:Familytree]] has been deprecated in favor of [[Template:Chart]], which has more features.
 
==Other templates==
Line 205 ⟶ 266:
 
== Family trees on Wikipedia ==
 
See:
* [[List of family trees]]