Predloga:Clade transclude
| Malvids |
| ||||||||||||||||||||||||||||||||||||||||||
| Uporablja Lua: |
This template can partially transclude marked sections and subclades from cladograms contructed with the {{clade}} template. The template and module were written with{{clade}} cladograms in mind, but the section option works with any page.
Parameters
- To select target page and section or branch to retrieve
|page=– the page name containing the target section or cladogram.|section=– get a named section. This works like{{#section}}and retrieves sections marked with<section begin=NAME />and<section end=NAME />|label=– select a subtree associated with|labelN=and|N=parameters from a larger cladogram.|subtree=– select the subtree associated with|targetX=and|subcladeX=from a larger cladogram.
- To wrap with a labelled {{clade}} template
|wrap=– wraps a subclade retrieved with|section=in a {{clade}} template. The label for the root of the tree is the section name if|wrap=used purely as a flag or|wrap=NAMEif a value is provided.|style=– applies a style to the outer clade added with the|wrap=parameter.
- To modify retrieved tree by pruning and grafting branches
|exclude=,|exclude2=, etc. – prunes a subclade from the selected subtree|replace=,|replace2=, etc – replacement content for the corresponding pruned element (i.e content to graft on)
- To exclude images, authorities or interactive elements
|noimages=– don't retrieve images|noauthority=– suppress authorities (actually removes anything in small tags)|nohidden=] – disable interactive elements using {{clade hidden}}
- Substitution
|raw=– don't preprocess wikitext
By substituting the template, the wikitext containing the cladogram using {{clade}} templates is added to the page. The local copy can then be further edited as required by the specific example.
Zgledi:
| To je stran testnih primerov za [[../peskovnik|peskovnik]] predloge Predloga:Clade transclude. za osvežitev primerov. Če je predloga zapletena z veliko primeri, lahko pride do tega, da se spodnji primeri ne naložijo zaradi omejitev v MediaWiki. Testiraš lahko tudi kako stran izgleda v različni koži s pomočjo spodnjih povezav: |
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=
}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Section |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|section=Lamiids
|wrap=
}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Label |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=Eudicots
|wrap=
}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Label |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|label=EUDICOTS
|wrap=
}} |
|
Examples with pruning
| Description | Code | Output | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Subtree |
{{Clade transclude
|page=Template:Phylogeny/APG IV
|subtree=SUPERROSIDS
|exclude=Malvids
|replace=Malvid clade pruned
|wrap=
}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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=
}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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.
Več zgledov na:
- Template:Phylogeny/APG IV (nested subtrees)
- Template:Phylogeny/APG IV/peskovnik (all subtrees basal)
- User:Jts1882/test/transclude sections
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.









