Template:Clade/doc

From Subnautica Wiki

The Clade template is used to show structured Cladograms on a post or article that can be edited dynamically. Note this template was added to the Below Zero wiki strictly for recreational use, as no actual wiki articles use cladograms.

Usage

A basic cladogram hook is used by defining parameters referred to as a number value. Higher number values will appear higher on the cladogram. For example:

{{Clade
|1=One
|2=Two
}}

This HTML will result in the following: Template:Clade To indicate a "split-off" of the cladogram, call another instance of the Clade template within the number parameter you wish to split off of. Do the following:

{{Clade
|1={{Clade
    |1=Split-off 1
    |2=Split-off 2
    }}
|2=Two
}}

This HTML shows the following: Template:Clade You can also label a branch using the |label[number] parameter for it. This label will appear on top of the branch regardless of what content is shown in that branch.

{{Clade
|label1=Label 1
|1={{Clade
    |1=Split-off 1
    |2=Split-off 2
    }}
|2=Two
}}

This will show the label as so: Template:Clade Any kind of information can be shown inside a branch. Namely, images will still show. Be aware that there's no guarantee the use of any other templates inside a branch will show up correctly; the template is only designed to have nested Clade template calls.