Template:Clade transclude/doc

This template can partially transclude marked sections and subclades from cladograms contructed with the clade template. The template and module were written withclade 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  and retrieves sections marked with    and
 * 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 NAME if 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.

Examples:
More examples at:
 * Template:Phylogeny/APG IV (nested subtrees)
 * Template:Phylogeny/APG IV/sandbox (all subtrees basal)
 * User:Jts1882/test/transclude sections