Template:Treelist

From NSPedia


Treelist

Creates a collapsible tree-style list.

Basic usage

{{Treelist
| title = United States
| content =
* California
* Texas
* New York
}}

Nested example

{{Treelist
| title = United States
| content =

{{Treelist
| title = California
| content =
* Los Angeles
* San Francisco
* Sacramento
}}

{{Treelist
| title = Texas
| content =
* Houston
* Dallas
* Austin
}}

}}

Open by default

Use:

| open = open

Example:

{{Treelist
| title = United States
| open = open
| content =
* California
* Texas
}}

Bold heading

Use:

| weight = bold