Difference between revisions of "Template:Cladogram/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Ucucha
(try)
imported>Ucucha
(test {{{cladogram2}}})
Line 7: Line 7:
 
| style="border: 1px solid #dedede; padding: 3px" |
 
| style="border: 1px solid #dedede; padding: 3px" |
 
{{{cladogram|{{{clades|{{{clade|{{{1|}}}}}}}}}}}}
 
{{{cladogram|{{{clades|{{{clade|{{{1|}}}}}}}}}}}}
 +
{{#if:{{{cladogram2|}}} | {{!}} style{{=}}"border: 1px solid #dedede; padding: 3px" {{!}}
 +
{{{cladogram2|{{{clades2|{{{clade2|}}}}}}}}}
 +
}}
 
|-
 
|-
 
| style="text-align: left; font-size: 90%; width: {{{width|248}}}px; border: 0; padding: 0;" | {{{caption|}}}
 
| style="text-align: left; font-size: 90%; width: {{{width|248}}}px; border: 0; padding: 0;" | {{{caption|}}}
 
|}<noinclude>{{template doc}} [[da:Template:Kladogram]]</noinclude>
 
|}<noinclude>{{template doc}} [[da:Template:Kladogram]]</noinclude>

Revision as of 14:52, 7 March 2011


Template documentation[view] [edit] [history] [purge]

Usage

Parameters
|title= text to display at top
|cladogram= cladogram, constructed with Template:Clade
|cladogram2= second cladogram, constructed in the same way
|caption= caption to display under cladogram
|align= whether the cladogram should be right- or left-aligned (default right)

Example:

Example
Neornithes  
Paleognathae

 

 Neognathae 
 

Other birds

Galloanserae 

Anseriformes

    

Galliformes

Craciformes

Sample of Template:Cladogram
{{cladogram|title=Example
|caption=Sample of Template:Cladogram
|cladogram={{clade| style=font-size:85%;line-height:75%;width:300px;
    |label1=[[Neornithes]]  
    |1={{clade
        |label1=[[Paleognathae]]
        |1= 
        |label2= [[Neognathae]] 
        |2={{clade
            |1=Other birds
            |label1= 
            |label2=[[Galloanserae]] 
            |2={{clade
                |1=[[Anseriformes]]
                |label2=    
                |2={{clade
                    |1=[[Galliformes]]
                    |2=[[Craciformes]]
                    }}
                }}
            }}
        }}
    }}
}}

Tracking category

See also

da:Template:Kladogram