Examples:
Testcases using {{Phylogeny/APG IV }} (nested subtrees)
Examples of selection transclusion for a larger cladogram
Description Code Output
Label
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Commelinids
|wrap=
}}
Label (with subtree)
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Fabids
|wrap=
}}
Subtree
{{Clade transclude
|page=Template:Phylogeny/APG IV
|subtree=SUPERROSIDS
|wrap=
}}
Superrosids
Saxifragales von Berchtold & Presl 1820
Rosids
Vitales de Jussieu ex von Berchtold & Presl 1820
Fabids
<section begin=Fabids />
<section end=Fabids />
(eurosids I)
Malvids
<section begin=Malvids />
Geraniales de Jussieu ex von Berchtold & Presl 1820
Myrtales de Jussieu ex von Berchtold & Presl 1820
<section end=Malvids />
(eurosids II)
Section
{{Clade transclude
|page=Template:Phylogeny/APG IV
|section=Lamiids
|wrap=
}}
Label
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Eudicots
|wrap=
}}
Ranunculales de Jussieu ex von Berchtold & Presl 1820
Proteales de Jussieu ex von Berchtold & Presl 1820
Trochodendrales Takhtajan ex Cronquist 1981
Buxales Takhtajan ex Reveal 1996
core
Gunnerales Takhtajan ex Reveal 1992
Dilleniales de Candolle ex von Berchtold & Presl 1820
Superrosids
<section begin=Superrosids />
Saxifragales von Berchtold & Presl 1820
Rosids
Vitales de Jussieu ex von Berchtold & Presl 1820
Fabids
<section begin=Fabids />
<section end=Fabids />
(eurosids I)
Malvids
<section begin=Malvids />
Geraniales de Jussieu ex von Berchtold & Presl 1820
Myrtales de Jussieu ex von Berchtold & Presl 1820
<section end=Malvids />
(eurosids II)
<section end=Superrosids />
Superasterids
<section begin=Superasterids />
<section end=Superasterids />
eudicots
Label
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=EUDICOTS
|wrap=
}}
Ranunculales de Jussieu ex von Berchtold & Presl 1820
Proteales de Jussieu ex von Berchtold & Presl 1820
Trochodendrales Takhtajan ex Cronquist 1981
Buxales Takhtajan ex Reveal 1996
core
Gunnerales Takhtajan ex Reveal 1992
Dilleniales de Candolle ex von Berchtold & Presl 1820
Superrosids
<section begin=Superrosids />
Saxifragales von Berchtold & Presl 1820
Rosids
Vitales de Jussieu ex von Berchtold & Presl 1820
Fabids
<section begin=Fabids />
<section end=Fabids />
(eurosids I)
Malvids
<section begin=Malvids />
Geraniales de Jussieu ex von Berchtold & Presl 1820
Myrtales de Jussieu ex von Berchtold & Presl 1820
<section end=Malvids />
(eurosids II)
<section end=Superrosids />
Superasterids
<section begin=Superasterids />
<section end=Superasterids />
eudicots
Examples with pruning
Description Code Output
Subtree
{{Clade transclude
|page=Template:Phylogeny/APG IV
|subtree=SUPERROSIDS
|exclude=Malvids
|replace=Malvid clade pruned
|wrap=
}}
Superrosids
Saxifragales von Berchtold & Presl 1820
Rosids
Vitales de Jussieu ex von Berchtold & Presl 1820
Fabids
<section begin=Fabids />
<section end=Fabids />
(eurosids I)
Malvids
Malvid clade pruned
(eurosids II)
Label (Eudicots pruned)
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Eudicots
|exclude=Superrosids
|replace=Superrosids clade pruned
|exclude2=Superasterids
|replace2=Superasterids clade pruned
|wrap=
}}
Subtree (EUDICOTS pruned)
{{Clade transclude
|page=Template:Phylogeny/APG IV
|subtree=EUDICOTS
|exclude=Malvids
|replace=Malvid clade pruned
|exclude2=Fabids
|replace2=Fabid clade pruned
|exclude3=Lamiids
|replace3=Lamiid clade pruned
|exclude4=Campanulids
|replace4=Campanulids clade pruned
|wrap=
}}
Eudicots
Ranunculales de Jussieu ex von Berchtold & Presl 1820
Proteales de Jussieu ex von Berchtold & Presl 1820
Trochodendrales Takhtajan ex Cronquist 1981
Buxales Takhtajan ex Reveal 1996
core
Gunnerales Takhtajan ex Reveal 1992
Dilleniales de Candolle ex von Berchtold & Presl 1820
Superrosids
<section begin=Superrosids />
Saxifragales von Berchtold & Presl 1820
Rosids
Vitales de Jussieu ex von Berchtold & Presl 1820
Fabids
Fabid clade pruned
(eurosids I)
Malvids
Malvid clade pruned
(eurosids II)
<section end=Superrosids />
Superasterids
<section begin=Superasterids />
<section end=Superasterids />
eudicots
Subtree (basal tree)
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Angiosperms
|exclude=Magnoliids
|replace=Magnoliids clade pruned
|exclude2=Monocots
|replace2=Monocots clade pruned
|exclude3=Eudicots
|replace3=Eudicots clade pruned
|wrap=
}}
Note that in the last example the Angiosperm tree must be pruned or an expansion depth limit is exceeded. This is because this template recontructs the whole tree before processing. If the whole tree is wanted call the {{Phylogeny/APG IV }} template directly.