Template:Clade/doc: Difference between revisions
Jump to navigation
Jump to search
Rational Wiki>SusanG (New page: ==How to use the template== This template is used for illustrating branching trees with the nodes and base labels being clickable links. They are especially suited to represent evolutiona...) |
Rational Wiki>WaitingforGodot m (→Using a box) |
||
Line 125: | Line 125: | ||
{{userboxtop| toptext= }} | {{userboxtop| toptext= }} | ||
{{clade| style=font-size:75%;line-height:75% | {{clade| style=font-size:75%;line-height:75% | ||
|label1= | |label1={{r|Neornithes}} | ||
|1={{clade | |1={{clade | ||
|label1=[[Paleognathae]] | |label1=[[Paleognathae]] |
Revision as of 22:13, July 18, 2008
How to use the template
This template is used for illustrating branching trees with the nodes and base labels being clickable links. They are especially suited to represent evolutionary trees.
{{clade |label1=Base |1=Node }}
produces
Base |
Node |
{{clade |1={{clade |label1=[[Subtree1]] |1=Leaf1 |label2=Subtree2 |2=[[Leaf2]] }} }}
produces
| |||||||
{{clade| style=font-size:75%;line-height:75% |1={{clade |label1=Subtree1 |1=Leaf1 |label2=Subtree2 |2=Leaf2 }} }}
produces
| |||||||
{{clade |1={{clade |1={{clade | thickness=3 |1=Leaf1 |2=Leaf2 }} |2=Leaf3 }} }}
produces
| |||||||||||||
Editing tip
An easy way of creating larger cladograms is to use the Newick format and proceed to edit it using a suitable text editor to produce the markup.
- Start with Newick format ((a,b),(c,d))
- Replace "(" with "{{clade|"
- Replace ")" with "}}"
- Edit to replace commas with pipes and numbers
- Edit clade labels if needed
{{clade |1={{clade |1=a |2=b }} |2={{clade |1=c |2=d }} }}
Using a box
You can nest the templates and use links around the text. You may use non-breaking spaces ( ) to obtain spaces or to have labels that have spaces.
The entire cladogram can be placed in a box so that text flows nicely around it. enclose within {{userboxtop| toptext= }} {{userboxbottom}}
|