Template:Tree list/doc

From Forsaken Saga Wiki
Revision as of 14:48, 21 June 2024 by 176.88.149.150 (talk) (Created page with "This family of templates can be used to create a properly structured and accessible tree. This can be used to display family trees, succession to thrones, etc. They comprise: {{Tree list}} * {{tl|Tree list}} ** {{tl|Tree list/end}} ** {{tl|Tree list/branching}} {{Tree list/end}} == Syntax == === Start and finish of the tree === The tree must include a start and finish, using the templates {{tl|Tree list}} and {{tl|Tree list/end}} respectively. The tree is essentially a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This family of templates can be used to create a properly structured and accessible tree. This can be used to display family trees, succession to thrones, etc. They comprise:

Syntax[edit source]

Start and finish of the tree[edit source]

The tree must include a start and finish, using the templates {{Tree list}} and {{Tree list/end}} respectively. The tree is essentially a series of nested lists built with the asterisk *.

{{Tree list}}
* Here goes the content of the tree using asterisks.
{{Tree list/end}}

The branches of the tree[edit source]

Each branch of the tree is built using nested lists:

{{Tree list}}
* A first level branch
** A second level branch
*** A third level branch
{{Tree list/end}}

produces

  • A first level branch
    • A second level branch
      • A third level branch

Unlabelled branches[edit source]

An unlabelled branch may be formed by using the {{Tree list/branching}} template.

{{Tree list}}
* A first level branch
** {{Tree list/branching}}
*** A third level branch
*** Another third level branch
*** The final third level branch
** A second level branch
** {{Tree list/branching}}                 <!--- This branch ends the second level --->
*** A third level branch
*** The final third level branch
{{Tree list/end}}

produces the following:

  • A first level branch
      • A third level branch
      • Another third level branch
      • The final third level branch
    • A second level branch
      • A third level branch
      • The final third level branch

Examples[edit source]

A family tree[edit source]

Code :

{{Tree list}}
*[[Image:Simple gold crown.svg|15px]] '''(1)''' [[Henry VII of England|Henry VII]] (1457 - 1509)
**[[Arthur, Prince of Wales]] (1486 - 1502)
**[[Margaret Tudor|Margaret, Queen of Scots]] (1489 - 1541)
***[[James, Duke of Rothesay]] (1507 - 1508)
***[[Arthur, Duke of Rothesay]] (1509 - 1510)
***[[Image:Simple silver crown.svg|15px]] [[James V of Scotland]] (1512 - 1542)
****[[Image:Simple silver crown.svg|15px]] [[Mary, Queen of Scots]] (1542 - 1587)
*****[[Image:Simple silver crown.svg|15px]] [[Image:Simple gold crown.svg|15px]] '''(7)''' [[James VI and I|James VI of Scotland and I of England]] (1566 - 1625)
******{{Tree list/final branch}}''From whom succeeding English, Scottish and British monarchs are descended.''
***[[Alexander Stewart, Duke of Ross]] (1514 - 1515)
***[[Margaret Douglas|Margaret Douglas, Countess of Lennox]] (1515 - 1578)
**[[Image:Simple gold crown.svg|15px]] '''(2)''' [[Henry VIII of England]] (1491 - 1547)
***[[Henry, Duke of Cornwall]] (1511 - 1511)
***[[Image:Simple gold crown.svg|15px]] '''(5)''' [[Mary I of England]] (1516 - 1558)
***[[Image:Simple gold crown.svg|15px]] '''(6)''' [[Elizabeth I of England]] (1533 - 1603)
***[[Image:Simple gold crown.svg|15px]] '''(3)''' [[Edward VI of England]]
**[[Elizabeth Tudor (daughter of Henry VII)|Elizabeth Tudor]] (1492 - 1495)
**[[Mary Tudor (queen consort of France)|Mary, Queen of France]] (1496 - 1533)
***Henry Brandon (1516 - 1522)
***[[Frances Grey, Duchess of Suffolk]] (1517 - 1547)
****[[Image:Simple gold crown.svg|15px]] '''(4)''' [[Lady Jane Grey]] (1536 - 1553)
****[[Lady Catherine Grey|Catherine Seymour, Countess of Hertford]] (1540 - 1568)
****[[Lady Mary Grey|Lady Mary Keyes]] (1545 - 1578)
****Elizabeth Stokes (1555 - 1556)
***[[Eleanor Clifford, Countess of Cumberland]] (1519 - 1547)
****{{Tree list/final branch}}''From whom are descended the [[Earl of Derby|Earls of Derby]]''
***[[Henry Brandon, 1st Earl of Lincoln]] (1523 - 1534)
**[[Edmund Tudor, Duke of Somerset]] (1499 - 1500) 
**[[Katherine Tudor (1503)|Katherine Tudor]] (1503 - 1503)
{{Tree list/end}}

which gives

A cladogram[edit source]

{{Tree list}}
*[[Tetrapoda]]
** {{Tree list/branching}}
*** Many extinct groups such as the ''[[Eucritta]]''
*** '''[[Lissamphibia]]''' Whose ancestors of the current amphibians
** {{Tree list/branching}}
*** Many extinct groups reminiscent of amphibians with more or less pronounced reptilian characteristics such as [[Eoherpetontidae]], the [[Embolomeri]], the [[Tokosauridae]], [[Chroniosuchidae]], [[Gephyrostegidae]], [[Solenodonsauridae]], [[Seymouriamorpha]], [[Westlothiana]], [[Lepospondyli]]
*** [[Cotylosauria]]
**** [[Amniota]], Originally all "Reptilian"
**** Other extinct sibling taxa like [[Diadectomorpha]] or [[Tseajaiidae]] are close enough to reptiles
{{Tree list/end}}

See also[edit source]

  • Wikipedia:Family trees
  • {{Chart}} — This template produces one row in a "family tree"-like chart consisting of boxes and connecting lines
  • {{Ahnentafel}} — This template takes genealogical data in the form of an ahnentafel and presents it as a graphical ancestry tree
  • {{ahnentafel-tree}} uses Template:Tlx and will handle up to an ahnentafel of 511 places (9 generations), but will also display as little as one generation.