Ŋun su:Jts1882/sandbox/templates/CladeN/doc
Yi palo
![]() | This is a documentation subpage for Ŋun su:Jts1882/sandbox/templates/CladeN. It contains usage information, categories and other content that is not part of the original ŋun su template page. |
Description
[mali niŋ | mali mi di yibu sheena n-niŋ]This is a experimental version of the clade template, using a Lua module to create the tables.
Basic usage
[mali niŋ | mali mi di yibu sheena n-niŋ]The new template should exactly replicate the use of the Clade and cladex templates.
Clade features
[mali niŋ | mali mi di yibu sheena n-niŋ]- Terminal nodes (leaves) with |N=leafname
- New clades with |N=clade{{ ... }}
- Internal node labelling with labelN
- Dashed or dotted lines on branches (stateN applied to branch N)
- Different thickness on node brackets (thickness applied to the clade)
Cladex features
[mali niŋ | mali mi di yibu sheena n-niŋ]- Double lines on branches to denote polyphyly/paraphyly (|stateN=double)
- Coloured bars to right of taxa to indicate groups (e.g paraphyly) (barN, barbeginN, barendN)
New or extended features
[mali niŋ | mali mi di yibu sheena n-niŋ]Branch and clade styling
[mali niŋ | mali mi di yibu sheena n-niŋ]- Styling of dashed/dotted lines and thickness extended to both clade and branch levels
- stateN and ThicknessN change just the branch
- state and thickness change the clade (the bracket)
- note: they apply only to a single clade level; they don't extend down the tree
- Colour option for line styling (using color and colorN)
- CSS styling of branches and clades through use of styleN or style, respectively
- For instance, |styleN=background-color:green; adds a background color to the node or clade.
- Because it uses CSS, the colours propagate through the table structure and changing the colour on a branch with styleN will apply the background to all subtrees.
- You cannot used this to change the tree structure because that uses HTML border-style, border-width and border-color, which are controlled with state, thickness and color, respectively (see above)
Newick strings
[mali niŋ | mali mi di yibu sheena n-niŋ]- Newick strings can be used instead of clade to extend the tree, although styling options are limited with this method.
- E.g. |newick1=(lion,tiger)panthera
- This feature is limited to simple strings. The current parser doesn't strip out additional information (e.g. lengths after colons).
- Beware of spaces. Don't use spaces adjacent to the newick string delimiters (parentheses, commas), although they can be used in the taxon names.
- If more options are required, the trees can be converted to the clade structure using the NewickConverter template
Caption, footer description and group labels
[mali niŋ | mali mi di yibu sheena n-niŋ]- Group labels to provide additional information (generally used with the bar structure)
- use grouplabel to add the text of the label
- use labelstyle to apply CSS styling
- Captions and a footer description can be added (similar to cladogram)
- caption and captionstyle add a CSS styled caption to the top of diagram
- footer and footerstyle add a CSS styled description below the diagram
Demonstration illustrating features
[mali niŋ | mali mi di yibu sheena n-niŋ]Demo |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A cladogram illustrating cladeN features. |
Examples
[mali niŋ | mali mi di yibu sheena n-niŋ]Felidae |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
More examples
[mali niŋ | mali mi di yibu sheena n-niŋ]User:Jts1882/sandbox/templates/Template:Passerida
User:Jts1882/sandbox/templates/Template:Passerida
User:Jts1882/sandbox/templates/Template:Passeroidea
User:Jts1882/sandbox/templates/Template:APG_III_system