Template:Tree list/doc
Appearance
This is a documentation subpage for Template:Tree list. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to create a structured and accessible tree. It is used to display family trees, succession lines, etc. It comprises:
{{Tree list}}
- {{Tree list}}
- {{Tree list/end}}
- {{Tree list/branching}}
{{Tree list/end}}
Usage
[edit]Basic branches
[edit]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}}
- gives
- A first level branch
- A second level branch
- A third level branch
- A second level branch
Unlabelled branches
[edit]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}}
- gives
- 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
-