Difference between revisions of "Template:Cladogram"
Jump to navigation
Jump to search
m (1 revision: first quarter #4) |
m (1 revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| style="border: 1px solid #ccc; background-color: white; | + | {| style="border: 1px solid #ccc; background-color: white; vertical-align: middle; width: {{if number|{{{width|248}}}|248}}px; {{#switch:{{lc:{{{align|}}}}} |
+ | | left = margin:0.2em 1em 0.2em 0; float:left; clear:left; | ||
+ | | center | centre = margin:0.2em auto; | ||
+ | | none = | ||
+ | | right | #default = margin:0.2em 0 0.2em 1em; float:right; clear:right; | ||
+ | }} {{{style|}}}" | ||
|- | |- | ||
{{#if:{{{title|}}}| | {{#if:{{{title|}}}| | ||
{{!}} style="text-align: center; font-weight: bold; border: 0; padding: 0;" {{!}} {{{title}}} | {{!}} style="text-align: center; font-weight: bold; border: 0; padding: 0;" {{!}} {{{title}}} | ||
− | |||
}} | }} | ||
+ | |- | ||
| style="border: 1px solid #dedede; padding: 3px" | | | style="border: 1px solid #dedede; padding: 3px" | | ||
{{{cladogram|{{{clades|{{{clade|{{{1|}}}}}}}}}}}} | {{{cladogram|{{{clades|{{{clade|{{{1|}}}}}}}}}}}} | ||
− | {{#if:{{{cladogram2|}}} | + | |- |
+ | {{#if:{{{cladogram2|{{{clades2|{{{clade2|}}}}}}}}} | | ||
{{!}} style{{=}}"border: 1px solid #dedede; padding: 3px" {{!}} | {{!}} style{{=}}"border: 1px solid #dedede; padding: 3px" {{!}} | ||
{{{cladogram2|{{{clades2|{{{clade2|}}}}}}}}} | {{{cladogram2|{{{clades2|{{{clade2|}}}}}}}}} | ||
}} | }} | ||
|- | |- | ||
− | | style="text-align: left; font-size: 88% | + | {{#if:{{{caption|}}}| |
− | |}<noinclude>{{documentation}}</noinclude> | + | {{!}} style{{=}}"text-align: left; font-size: 88%; border: 0; padding: 0;" {{!}} {{{caption|}}} |
+ | }} | ||
+ | |}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using cladogram with unknown parameters|_VALUE_{{PAGENAME}}]]}} | ||
+ | |preview=Page using [[Template:Cladogram]] with unknown parameter "_VALUE_" | ||
+ | | 1 | align | caption | clade | clade2 | clades | clades2 | cladogram | cladogram2 | style | title | width | ||
+ | }}<noinclude>{{documentation}}</noinclude> |