Difference between revisions of "Template:Cladogram/sandbox"
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 | + | {| 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" |
| − | | | + | |- |
| + | {{#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|}}}}}}}}}}}} | ||
| − | + | |- | |
| − | |}<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
| This is the template sandbox page for Template:Cladogram (diff). |
| This template uses Lua: |
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 | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| 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
- {{Clade}}
| The above documentation is transcluded from Template:Cladogram/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |