Difference between revisions of "Template:Cladogram/doc"
Jump to navigation
Jump to search
imported>Bonč (hr iw) |
imported>Ucucha (more parameters, use {{{cladogram}}} as that uses the fewest calls in the tempalte) |
||
| Line 6: | Line 6: | ||
:{{para|title}} text to display at top | :{{para|title}} text to display at top | ||
| − | :{{para| | + | :{{para|cladogram}} cladogram, constructed with [[Template:Clade]] |
:{{para|caption}} caption to display under cladogram | :{{para|caption}} caption to display under cladogram | ||
| + | :{{para|align}} whether the cladogram should be right- or left-aligned (default right) | ||
| + | :{{para|left}} left margin (default 1; 0 when left-aligned) | ||
| + | :{{para|right}} right margin (default 0; 1 when left-aligned) | ||
Example: | Example: | ||
{{cladogram|title=Example | {{cladogram|title=Example | ||
|caption=Sample of Template:Cladogram | |caption=Sample of Template:Cladogram | ||
| − | | | + | |cladogram={{clade| style=font-size:75%;line-height:75% |
|label1=[[Neornithes]] | |label1=[[Neornithes]] | ||
|1={{clade | |1={{clade | ||
| Line 35: | Line 38: | ||
}}<pre>{{cladogram|title=Example | }}<pre>{{cladogram|title=Example | ||
|caption=Sample of Template:Cladogram | |caption=Sample of Template:Cladogram | ||
| − | | | + | |cladogram={{clade| style=font-size:75%;line-height:75% |
|label1=[[Neornithes]] | |label1=[[Neornithes]] | ||
|1={{clade | |1={{clade | ||
Revision as of 19:31, 25 November 2009
| File:Edit-copy green.svg | This is a documentation subpage for Template:Cladogram. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Parameters:
|title=text to display at top|cladogram=cladogram, constructed with Template:Clade|caption=caption to display under cladogram|align=whether the cladogram should be right- or left-aligned (default right)|left=left margin (default 1; 0 when left-aligned)|right=right margin (default 0; 1 when left-aligned)
Example:
| Example | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| Sample of Template:Cladogram |
{{cladogram|title=Example
|caption=Sample of Template:Cladogram
|cladogram={{clade| style=font-size:75%;line-height:75%
|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]]
}}
}}
}}
}}
}}
}}