قالب:قائمة شجرية/توثيق

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

Start and finish of the tree

The tree must include a start and finish, using the templates {{قائمة شجرية}} and {{قائمة شجرية/نهاية}} respectively. The tree is essentially a series of nested lists built with the asterisk *.

{{قائمة شجرية}}* Here goes the content of the tree using asterisks.{{قائمة شجرية/نهاية}}

The branches of the tree

Each branch of the tree is built using nested lists:

{{قائمة شجرية}}* A first level branch** A second level branch*** A third level branch{{قائمة شجرية/نهاية}}

produces

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

Final branches

It will be noticed that the example above has a rouge link below the last entry. In order to display the final branches properly, it is necessary to use the template {{قائمة شجرية/فرع أخير}} like so:

{{قائمة شجرية}}* A first level branch** A second level branch*** A third level branch*** Another third level branch*** {{قائمة شجرية/فرع أخير}} The final third level branch** Another second level branch** {{قائمة شجرية/فرع أخير}} The final second level branch{{قائمة شجرية/نهاية}}

which produces

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

Unlabelled branches

An unlabelled branch may be formed by using the {{قائمة شجرية/متفرعة}} template or, if it is the final branch, the {{قائمة شجرية/تفرع أخير}} template.

{{قائمة شجرية}}* A first level branch** {{قائمة شجرية/متفرعة}}*** A third level branch*** Another third level branch*** {{قائمة شجرية/فرع أخير}} The final third level branch** A second level branch** {{قائمة شجرية/تفرع أخير}}                 <!--- This branch ends the second level --->*** A third level branch*** {{قائمة شجرية/فرع أخير}} The final third level branch{{قائمة شجرية/نهاية}}

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

أمثلة

A family tree

Code :

{{قائمة شجرية}}*[[Image:Simple gold crown.svg|15px]] '''(1)''' [[هنري السابع ملك إنجلترا]] (1457 - 1509)**[[آرثر أمير ويلز]] (1486 - 1502)**[[مارغريت ملكة اسكتلندا]] (1489 - 1541)***[[James, Duke of Rothesay]] (1507 - 1508)***[[جيمس الرابع ملك اسكتلندا]] (1509 - 1510)***[[Image:Simple silver crown.svg|15px]] [[جيمس الخامس ملك اسكتلندا]] (1512 - 1542)****{{قائمة شجرية/فرع أخير}}[[Image:Simple silver crown.svg|15px]] [[ماري ستيوارت]] (1542 - 1587)*****{{قائمة شجرية/فرع أخير}}[[Image:Simple silver crown.svg|15px]] [[Image:Simple gold crown.svg|15px]] '''(7)''' [[جيمس الأول ملك إنجلترا]] (1566 - 1625)******{{قائمة شجرية/فرع أخير}}''From whom succeeeding English, Scottish and British monarchs are decended.''***[[Alexander Stewart, Duke of Ross]] (1514 - 1515)***{{قائمة شجرية/فرع أخير}}[[مارغريت دوغلاس]] (1515 - 1578)**[[Image:Simple gold crown.svg|15px]] '''(2)''' [[هنري الثامن ملك إنجلترا]] (1491 - 1547)***{{Ill-WD2|هنري، دوق كورنوال|id=Q928719}} (1511 - 1511)***[[Image:Simple gold crown.svg|15px]] '''(5)''' [[ماري الأولى ملكة إنجلترا]] (1516 - 1558)***[[Image:Simple gold crown.svg|15px]] '''(6)''' [[إليزابيث الأولى ملكة إنجلترا]] (1533 - 1603)***{{قائمة شجرية/فرع أخير}}[[Image:Simple gold crown.svg|15px]] '''(3)''' [[إدوارد السادس]]**[[إليزابيث تيودور (1492–1495)]] (1492 - 1495)**[[ماري تيودور ملكة فرنسا]] (1496 - 1533)***Henry Brandon (1516 - 1522)***[[فرانسيس غراي، دوقة سوفولك]] (1517 - 1547)****[[Image:Simple gold crown.svg|15px]] '''(4)''' [[ليدي جين غراي]] (1536 - 1553)****{{Ill-WD2|كاثرين غري|id=Q242291}} (1540 - 1568)****{{Ill-WD2|ماري غري|id=Q242918}} (1545 - 1578)****{{قائمة شجرية/فرع أخير}}Elizabeth Stokes (1555 - 1556)***[[Eleanor Clifford, Countess of Cumberland]] (1519 - 1547)****{{قائمة شجرية/فرع أخير}}''From whom are descended the [[Earl of Derby|Earls of Derby]]''***{{قائمة شجرية/فرع أخير}}[[Henry Brandon, 1st Earl of Lincoln]] (1523 - 1534)**[[إدموند تيودور (دوق سومرست)]] (1499 - 1500) **{{قائمة شجرية/فرع أخير}}[[كاثرين تيودور]] (1503 - 1503){{قائمة شجرية/نهاية}}

which gives

A cladogram

{{قائمة شجرية}}*[[رباعيات أطراف]]** {{قائمة شجرية/متفرعة}}*** De nombreux groupes éteints dont comme les ''[[Eucritta]]''*** {{قائمة شجرية/فرع أخير}} '''[[برمائيات ملساء]]''' dont les ancêtres des amphibiens actuels** {{قائمة شجرية/تفرع أخير}}*** De nombreux groupes éteints qui rappellent les amphibiens avec des caractéristiques reptiliennes plus ou moins prononcées comme les [[Eoherpetontidae]], les [[مندغمات الأجزاء]], [[Tokosauridae]], [[Chroniosuchidae]], [[Gephyrostegidae]], [[Solenodonsauridae]], [[سيموريات الشكل]], [[سحلية غرب لوثيان]], [[ليبوسبونديلايات]]*** {{قائمة شجرية/فرع أخير}}[[Cotylosauria]]**** [[سلوي]], à l’origine tous « reptiliens »**** {{قائمة شجرية/فرع أخير}} D’autres taxons frères éteint comme les [[أشباه العضاضات العرضية]] ou les [[Tseajaiidae]] assez proche des reptiles{{قائمة شجرية/نهاية}}