Mal:Klade
Utsjånad
(Omdirigert frå Mal:Clade)
{{{1}}} | |
Bruk
[endre wikiteksten]Denne malen kan brukast til å visa «tre» med greiner, til dømes evolusjonstre og språkfamiliar.
{{klade |label1=Base |1=Node }}
produces
Base |
Node |
{{klade |1={{klade |label1=[[Subtree1]] |1=Leaf1 |label2=Subtree2 |2=[[Leaf2]] }} }}
produces
| |||||||
{{klade| style=font-size:75%;line-height:75% |1={{klade |label1=Subtree1 |1=Leaf1 |label2=Subtree2 |2=Leaf2 }} }}
produces
| |||||||
{{klade |1={{klade |1={{klade | tjukke=3 |1=Leaf1 |2=Leaf2 }} |2=Leaf3 }} }}
produces
| |||||||||||||
Editing tip
[endre wikiteksten]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 "{{klade|"
- Replace ")" with "}}"
- Edit to replace commas with pipes and numbers
- Edit klade labels if needed
{{klade |1={{klade |1=a |2=b }} |2={{klade |1=c |2=d }} }}
Using a box
[endre wikiteksten]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. Use within Template:Cladogram.
{{cladogram|title=Example |caption=Sample of Template:Cladogram |klades={{klade| style=font-size:75%;line-height:75% |label1=[[Neornithes]] |1={{klade |label1=[[Paleognathae]] |1= |label2= [[Neognathae]] |2={{klade |1=Other birds |label1= |label2=[[Galloanserae]] |2={{klade |1=[[Anseriformes]] |label2= |2={{klade |1=[[Galliformes]] |2=[[Craciformes]] }} }} }} }} }} }}