Difference between revisions of "Template:Cladogram/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(sandbox)
 
imported>Ucucha
(synchronize)
Line 1: Line 1:
{| style="margin-left: {{{left|{{#ifeq:{{{align|}}}|left|0|1}}}}}em; margin-right: {{{right|{{#ifeq:{{{align|}}}|left|1|0}}}}}em; margin-bottom: 0.5em; width: {{{width|248}}}px; border: #99B3FF solid 1px; background-color: #FFFFFF; color: #000000; float: {{{align|right}}}; "
+
{| style="border: 1px solid #ccc; background-color: white; margin-left: {{{left|{{#ifeq:{{{align|}}}|left|0|1}}}}}em; margin-right: {{{right|{{#ifeq:{{{align|}}}|left|1|0}}}}}em; width: {{{width|248}}}px; {{#ifeq:{{{align|}}}|center|margin: auto; clear: both;|float: {{{align|right}}}; clear: {{{align|right}}};}} vertical-align: middle"
|<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{title|&nbsp;}}}</div>
+
|-
 +
{{#if:{{{title|}}}|
 +
{{!}} style="text-align: center; font-weight: bold" {{!}} {{{title}}}
 +
{{!}}-
 +
}}
 +
| style="border: 1px solid #dedede; padding: 3px" |
 
{{{cladogram|{{{clades|{{{clade|{{{1|}}}}}}}}}}}}
 
{{{cladogram|{{{clades|{{{clade|{{{1|}}}}}}}}}}}}
<div style="text-align: left; font-size: 85%;">{{{caption|}}}</div>
+
|-
|}<noinclude>{{template doc}}</noinclude>
+
| style="text-align: left; font-size: 90%; width: {{{width|248}}}px" | {{{caption|}}}
 +
|}<noinclude>{{template doc}} [[da:Template:Kladogram]]</noinclude>

Revision as of 09:10, 29 December 2010

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