Template:Clade transclude/testcases
< Template:Clade transclude
Jump to navigation
Jump to search
Revision as of 10:04, 13 November 2019 by imported>Jts1882 (update to use nested APG template→Examples:)
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=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
|
Label (with subtree) |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Fabids
|wrap=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
| Subtree |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|subtree=SUPERROSIDS
|wrap=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
| Section |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|section=Lamiids
|wrap=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
| Label |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Eudicots
|wrap=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
| Label |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=EUDICOTS
|wrap=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
Examples with pruning
| Description | Code | Output |
|---|---|---|
| Subtree |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|subtree=SUPERROSIDS
|exclude=Malvids
|replace=Malvid clade pruned
|wrap=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
|
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=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
|
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=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
|
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=
}} | Page with title "Template:Phylogeny/APG IV" not found. |
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.