Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Tree list/doc

Template page

Template:Documentation header Template:Uses TemplateStyles

Usage

This family of templates can be used to create a properly structured and accessible tree. They comprise: Template:Tree list

Template:Tree list/end

Syntax

Start and finish of the tree

The tree must include a start and finish, using the templates Template:Tl and Template:Tl 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

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 Template:Tree list

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

Template:Tree list/end


See also