Esta familia de plantillas permite crear un árbol genealógico estructurado y accesible. Se puede utilizar para mostrar árboles genealógicos, sucesiones a tronos, etc. Están compuestas por:
El árbol debe incluir un inicio y un final, utilizando las plantillas {{ Tree list }} y {{ Tree list/end }} respectivamente. El árbol es esencialmente una serie de listas anidadas construidas con el asterisco *.
{{ Lista de árboles }} * Aquí va el contenido del árbol usando asteriscos. {{ Lista de árboles/fin }}
Cada rama del árbol se construye utilizando listas anidadas:
{{ Lista de árboles }} * Una rama de primer nivel ** Una rama de segundo nivel *** Una rama de tercer nivel {{ Lista de árboles/fin }}
produce
Se puede formar una rama sin etiquetar utilizando la plantilla {{ Lista de árboles/ramificaciones }} .
{{ Lista de árboles }} * Una rama de primer nivel ** {{ Lista de árboles/ramificación }} *** Una rama de tercer nivel *** Otra rama de tercer nivel *** La rama final de tercer nivel ** Una rama de segundo nivel ** {{ Lista de árboles/ramificación }} <!--- Esta rama termina el segundo nivel ---> *** Una rama de tercer nivel *** La rama final de tercer nivel {{ Lista de árboles/fin }}
produce lo siguiente:
Para contraer un árbol, colóquelo antes y enciérrelo con . El valor predeterminado es mostrar solo un vínculo a la derecha, pero requiere una cantidad de parámetros; consulte la documentación de la plantilla. En este caso:{{Hidden begin}}
{{Tree list}}
{{Tree list/end}}
{{Hidden end}}
{{Hidden begin}}
|border=1px #aaa solid—un borde sólido alrededor del árbol|title=Árbol de demostración: un nombre adecuado para el árbol|ta1=center – centrar el título= nombre
{{ hidden begin | border = 1px #aaa solid | title = Demonstration tree | ta1 = center }} {{ Lista de árboles }} * Una rama de primer nivel ** {{ Lista de árboles/ramificación }} *** Una rama de tercer nivel *** Otra rama de tercer nivel *** La rama final de tercer nivel ** Una rama de segundo nivel ** {{ Lista de árboles/ramificación }} <!--- Esta rama termina el segundo nivel ---> *** Una rama de tercer nivel *** La rama final de tercer nivel {{ Lista de árboles/fin }} {{ Fin oculto }}
|expanded=on
Si se agrega el parámetro , el cuadro se dibujará expandido en lugar de lo predeterminado, que es contraer el árbol.{{hidden begin}}
Código :
{{ hidden begin | border = 1px #aaa solid | title = Un árbol genealógico (descendientes de Enrique VII de Inglaterra) | ta1 = center | fully developed = on }} {{ Lista de árboles }} * [[ Image : Simple gold crown.svg | 15px ]] '''(1)''' [[ Enrique VII de Inglaterra | Enrique VII ]] (1457–1509) ** [[ Arturo, Príncipe de Gales ]] (1486–1502) ** [[ Margarita Tudor | Margarita, Reina de Escocia ]] (1489–1541) *** [[ Jaime, Duque de Rothesay ]] (1507–1508) *** [[ Arturo, Duque de Rothesay ]] (1509–1510) *** [[ Image : Simple silver crown.svg | 15px ]] [[ Jaime V de Escocia ]] (1512–1542) **** [[ Imagen : Simple silver crown.svg | 15px ]] [[ María, reina de Escocia ]] (1542–1587) ***** [[ Imagen : Simple silver crown.svg | 15px ]] [[ Imagen : Simple gold crown.svg | 15px ]] '''(7)''' [[ Jaime VI y I | Jaime VI de Escocia y I de Inglaterra ]] (1566–1625) ****** ''De quien descienden los sucesivos monarcas ingleses, escoceses y británicos.'' *** [[ Alejandro Estuardo, duque de Ross ]] (1514–1515) *** [[ Margarita Douglas | Margarita Douglas, condesa de Lennox ]] (1515–1578) ** [[ Imagen : Simple gold crown.svg | 15px ]] '''(2)''' [[ Enrique VIII de Inglaterra ]] (1491–1547) *** [[ Enrique, duque de Cornualles ]] (1511–1511) *** [[ Imagen : Corona de oro simple.svg | 15px ]] '''(5)''' [[ María I de Inglaterra ]] (1516–1558) *** [[ Imagen : Simple gold crown.svg | 15px ]] '''(6)''' [[ Isabel I de Inglaterra ]] (1533–1603) *** [[ Imagen : Simple gold crown.svg | 15px ]] '''(3)''' [[ Eduardo VI de Inglaterra ]] ** [[ Isabel Tudor (hija de Enrique VII) | Isabel Tudor ]] (1492–1495) ** [[ María Tudor (reina consorte de Francia) | María, reina de Francia ]] (1496–1533) *** Enrique Brandon (1516–1522) *** [[ Frances Grey, duquesa de Suffolk ]] (1517–1547) **** [[ Imagen : Simple gold crown.svg | 15px ]] '''(4)''' [[ Lady Jane Grey ]] (1536–1553) **** [[ Lady Catherine Grey | Catherine Seymour, condesa de Hertford ]] (1540–1568) **** [[ Lady Mary Grey | Lady Mary Keyes ]] (1545–1578) **** Elizabeth Stokes (1555–1556) *** [[ Eleanor Clifford, condesa de Cumberland ]] (1519–1547) **** ''De quien descienden los [[ Conde de Derby | Condes de Derby ]] '' *** [[ Henry Brandon, primer conde de Lincoln ]] (1523–1534) ** [[ Edmund Tudor, duque de Somerset ]] (1499–1500) ** [[ Katherine Tudor (1503) | Catalina Tudor ]] (1503–1503) {{ Lista de árboles/fin }} {{ Fin oculto }}
Lo cual da
Los árboles de estilo Ahnentafel se pueden mostrar utilizando esta plantilla, pero por lo general, para menos de seis generaciones, las plantillas de Ahnentafel personalizadas son más claras (consulte Plantilla:Ahnentafel/doc ). También existe una plantilla de Ahnentafel ( {{ Ahnentafel-tree }} ), que se basa en esta, que simplifica la construcción de este árbol.
{{ hidden begin | border = 1px #aaa solid | title = Árbol genealógico del príncipe Guillermo, duque de Cambridge | ta1 = center | fully packed = on }} {{ Tree list }} * 1. ''' [[ Guillermo, príncipe de Gales ]] ''' (nacido el 21 de junio de 1982) ** 2. [[ Carlos III | Carlos III del Reino Unido ]] (nacido el 14 de noviembre de 1948) *** 4. [[ Príncipe Felipe, duque de Edimburgo | Príncipe Felipe de Grecia y Dinamarca ]] (10 de junio de 1921 - 9 de abril de 2021) **** 8. [[ Príncipe Andrés de Grecia y Dinamarca ]] (20 de enero de 1882 - 3 de diciembre de 1944) **** 9. [[ Princesa Alicia de Battenberg ]] (25 de febrero de 1885 - 5 de diciembre de 1969) *** 5. [[ Isabel II | Isabel II del Reino Unido ]] (21 de abril de 1926 - 8 de septiembre de 2022) **** 10. [[ Jorge VI | Jorge VI del Reino Unido ]] (14 de diciembre de 1895 - 6 de febrero de 1952) **** 11. [[ Reina Isabel La Reina Madre | Lady Elizabeth Bowes-Lyon ]] (4 de agosto de 1900 - 30 de marzo de 2002) ** 3. [[ Diana, Princesa de Gales | Lady Diana Spencer ]] (1 de julio de 1961 - 31 de agosto de 1997) *** 6. [[ John Spencer, 8.º conde Spencer ]] (21 de abril de 1926 - 29 de marzo de 1992) **** 12. [[ Albert Spencer, 7.º conde Spencer ]] (23 de mayo de 1892 - 9 de junio de 1975) **** 13. [[ Cynthia Spencer, condesa Spencer | Lady Cynthia Hamilton ]] (16 de agosto de 1897 – 4 de diciembre de 1972) *** 7. [[ Frances Shand Kydd | La Honorable Frances Roche ]] (20 de enero de 1936 – 3 de junio de 2004) **** 14. [[ Maurice Roche, cuarto barón Fermoy ]] (15 de mayo de 1885 – 8 de julio de 1955) **** 15. [[Ruth Roche, baronesa Fermoy | Ruth Gill ]] (2 de octubre de 1908 – 6 de julio de 1993) {{ Fin de la lista de árboles }} {{ Fin oculto }}
{{ hidden begin | border = 1px #aaa solid | title = Un cladograma | ta1 = centro | expandido = activado }} {{ Lista de árboles }} * [[ Tetrapoda ]] ** {{ Lista de árboles/ramificación }} *** Muchos grupos extintos como los '' [[ Eucritta ]] '' *** ''' [[ Lissamphibia ]] ''' Cuyos ancestros de los anfibios actuales ** {{ Lista de árboles/ramificación }} *** Muchos grupos extintos que recuerdan a los anfibios con características reptiles más o menos pronunciadas como los [[ Eoherpetontidae ]] , los [[ Embolomeri ]] , los [[ Tokosauridae ]] , [[ Chroniosuchidae ]] , [[ Gephyrostegidae ]] , [[ Solenodonsauridae ]] , [[ Seymouriamorpha ]] , [[ Westlothiana ]] , [[ Lepospondyli ]] *** [[ Cotylosauria ]] **** [[ Amniota ]] , Originalmente todos "reptiles" **** Otros taxones hermanos extintos como [[ Diadectomorpha ]] o [[ Tseajaiidae ]] son bastante cercanos a los reptiles {{ Lista de árboles/fin }} {{ fin oculto }}
{{Chart}}
—Esta plantilla produce una fila en un diagrama tipo "árbol genealógico" que consta de cuadros y líneas de conexión.{{Ahnentafel}}
—Esta plantilla toma datos genealógicos en forma de ahnentafel y los presenta como un árbol genealógico gráfico.{{ahnentafel-tree}}
Utiliza {{Tree list}}
y maneja hasta un ahnentafel de 511 lugares (9 generaciones), pero también muestra tan solo una generación.