Changes

1,992 bytes added ,  21:02, 15 July 2021
Pywikibot 6.4.0
{{Module rating |protected<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}}
{{uses TemplateStyles|Template:Clade/styles.css}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->


This module is designed to be used with the [[Template:Clade|clade]] template to draw phylogenetic trees or cladograms. The new template-module combination extends the feature available with the [[Template:Clade|clade]] and [[Template:Cladex|cladex]] templates, while replicating the behaviour of the older templates written with the template language. This module is copied from the test version [[Module:Sandbox/Jts1882/CladeN]], which was used with the template [[Template:CladeN]] to test the features during development.

Additionally, the module has the code for template {{tl|clade newick converter}}, which is a basic utility to convert Newick strings into nested clade structures. This is not to be used in wikipedia articles, but is a tool to help construct cladograms for inclusion in articles.

The diagram below gives an overview of the features. See the template documentation for a more detailed description of how to use the templates.

=== Usage ===

<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|main|style={{{style}}}}}</code>

===Examples===

Simple examples mimicking the clade template:

* [[User:Jts1882/sandbox/templates/Template:Passeroidea]]
* [[User:Jts1882/sandbox/templates/Template:Passerida]]

Example demonstrating more advanced features of cladeN:

* [[User:Jts1882/sandbox/test/Felidae]]

Example demonstrating features available:

{{Template:Clade/demo}}


===Subpages===

{{:Special:Prefixindex/Module:Clade/ }} <!-- |hideredirects=1 namespace=828 &stripprefix=1-->

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->

}}</includeonly>