Difference between revisions of "Template:Clade/demo"

From blackwiki
Jump to navigation Jump to search
imported>Jts1882
(updates)
imported>Jts1882
(update clade params)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
 
       |label2=label2
 
       |label2=label2
 
         |grouplabel2= leaf 2 is a nested clade structure  
 
         |grouplabel2= leaf 2 is a nested clade structure  
        |labelstyle2=background-color:#ffdddd;vertical-align:middle;
+
      |2={{Clade |style=background-color:#ffaaaa;
      |2={{Clade |style=background-color:#ffaaaa;
 
 
         |label1=label A
 
         |label1=label A
         |1=leaf A
+
         |1=leaf A           |bar1=purple
 
         |label2=label B
 
         |label2=label B
         |2=leaf B
+
         |2=leaf B           |bar2=purple
        |bar1=purple |bar2=purple  
 
 
         }}
 
         }}
 
       |label3=label3 |sublabel3=sublabel3
 
       |label3=label3 |sublabel3=sublabel3
Line 41: Line 39:
 
         |2=red            |color2=red     
 
         |2=red            |color2=red     
 
         |3=blue            |color3=blue   
 
         |3=blue            |color3=blue   
         |4= #00ff00       |color4=#00ff00   
+
         |4= #00ff00   |color4=#00ff00   
 
         }}
 
         }}
 
       |label3=stateN
 
       |label3=stateN
Line 62: Line 60:
 
           |3=K             
 
           |3=K             
 
           }}
 
           }}
       |label2=color
+
       |label2=color
 
       |2={{Clade |color=red  
 
       |2={{Clade |color=red  
 
         |1=A
 
         |1=A
         |2=B              
+
         |2=B            
 
         |3=C             
 
         |3=C             
 
         }}
 
         }}
Line 81: Line 79:
 
   |6={{Clade
 
   |6={{Clade
 
       |label2=subtree  
 
       |label2=subtree  
       |grouplabel2= expanded Newick string    |labelstyle2=vertical-align: middle;
+
       |grouplabel2= expanded Newick string     
 
       |2={{Clade |style=background-color:#ccffcc;
 
       |2={{Clade |style=background-color:#ccffcc;
 
         |newick1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera
 
         |newick1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera
Line 98: Line 96:
 
         }}
 
         }}
 
       |grouplabel2= label a paraphyletic group within a clade   
 
       |grouplabel2= label a paraphyletic group within a clade   
       |labelstyle2=vertical-align:middle;
+
       |grouplabelstyle2=vertical-align:middle;
 
       |label2=clade
 
       |label2=clade
 
       |style2=background-color:#ffddff;
 
       |style2=background-color:#ffddff;
Line 122: Line 120:
 
    
 
    
 
   |grouplabel1=<pre>
 
   |grouplabel1=<pre>
  |label1=Node structure
+
|label1=Node structure |sublabel1=(brackets)
  |sublabel1=(brackets)
+
|style1=background-color:#ffdddd;
  |style1=background-color:#ffdddd;
+
|1={{Clade
 +
  |label1=label1 
 +
  |1=leaf 1           
 +
  |label2=label2
 +
  |grouplabel2=&nbsp;leaf 3 is a nested clade structure
 +
  |2={{Clade |style=background-color:#ffaaaa;
 +
      |label1=label A
 +
      |1=leaf A
 +
      |label2=label B
 +
      |2=leaf B
 +
      |bar1=purple |bar2=purple
 +
      }}
 +
  |label3=label3 |sublabel3=sublabel3
 +
  |3=leaf 3         
 +
  }}</pre>
 +
  |grouplabel3=<pre>
 +
|label3=Leaf styling  |sublabel3=(branches)
 +
|style3=background-color:#eeeeee;
 +
|3={{Clade
 +
  |label1=thicknessN
 
   |1={{Clade
 
   |1={{Clade
       |label1=label1 
+
       |1=1 (default) |thickness1=1 |barbegin1=blue
      |1=leaf 1           
+
       |2=2          |thickness2=2 |bar2=blue |barlabel2=&nbsp;line thickness
       |label2=label2
+
       |3=3          |thickness3=3 |barend3=blue
        |grouplabel2=&nbsp;leaf 3 is a nested clade structure
+
      }}
        |labelstyle2=background-color:#ffdddd;vertical-align:middle;
+
  |label2=colorN
       |2={{Clade |style=background-color:#ffaaaa;
+
  |2={{Clade
        |label1=label A
+
      |1=black (default) |color1=black          
        |1=leaf A
+
       |2=red            |color2=red   
        |label2=label B
+
       |3=blue            |color3=blue 
        |2=leaf B
+
       |4=&nbsp;#00ff00  |color4=#00ff00 
        |bar1=purple |bar2=purple
+
      }}
         }}
+
   |label3=stateN
       |label3=label3 |sublabel3=sublabel3
 
       |3=leaf 3         
 
       }}</pre>
 
|grouplabel3=<pre>
 
  |label3=Leaf styling
 
  |sublabel3=(branches)
 
   |style3=background-color:#eeeeee;
 
 
   |3={{Clade
 
   |3={{Clade
       |label1=thicknessN
+
       |1=solid (default) |state1=solid  |barbegin1=purple  
      |1={{Clade
+
      |2=dotted          |state2=dotted |bar2=purple  
          |1=1 (default) |thickness1=1 |barbegin1=blue
+
      |3=dashed          |state3=dashed |bar3=purple |barlabel3=&nbsp;line styles
          |2=2          |thickness2=2 |bar2=blue |barlabel2=&nbsp;line thickness
+
      |4=none            |state4=none  |bar4=purple
          |3=3          |thickness3=3 |barend3=blue
+
      |5=double          |state5=double |barend5=purple  
          }}
+
      }}
      |label2=colorN
+
  }}</pre>
      |2={{Clade
+
  |grouplabel4=<pre>
        |1=black (default) |color1=black         
+
|label4=node styling |sublabel4=(brackets)
        |2=red            |color2=red   
+
|style4=background-color:#ffffee;
        |3=blue            |color3=blue 
+
|4={{Clade
        |4=&nbsp;#00ff00      |color4=#00ff00 
+
  |label1=thickness
        }}
+
  |1={{Clade |thickness=3
      |label3=stateN
+
      |1=I   
      |3={{Clade
+
      |2=J           
        |1=solid (default) |state1=solid  |barbegin1=purple  
+
      |3=K             
        |2=dotted          |state2=dotted |bar2=purple  
+
      }}
        |3=dashed          |state3=dashed |bar3=purple |barlabel3=&nbsp;line styles
+
  |label2=color
        |4=none            |state4=none  |bar4=purple
+
  |2={{Clade |color=red  
        |5=double          |state5=double |barend5=purple  
+
      |1=A
        }}
+
      |2=B                 
      }}</pre>
+
      |3=C             
|grouplabel4=<pre>
+
      }}
  |label4=node styling
+
  |label3=state
  |sublabel4=(brackets)
+
  |3={{Clade |state=dashed
  |style4=background-color:#ffffee;
+
      |1=X  
  |4={{Clade
+
      |2=Y         
      |label1=thickness
+
      |3=Z         
      |1={{Clade |thickness=3
+
  }} }}</pre>
          |1=I   
+
  |grouplabel6=<pre>
          |2=J           
+
|label6=newick
          |3=K             
+
|style6=background-color:#ddffdd;
          }}
+
|6={{Clade
      |label2=color
+
  |label1=string
      |2={{Clade |color=red  
+
  |1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera         
        |1=A
+
  |label2=subtree  
        |2=B                 
+
  |grouplabel2=&nbsp;expanded Newick string     
        |3=C             
+
  |grouplabelstyle2=vertical-align: middle;
        }}
+
  |2={{Clade |style=background-color:#ccffcc;
      |label3=state
+
      |newick1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera
      |3={{Clade |state=dashed
+
      |1=Leaf1 (redundant if newick1 set)         
        |1=X  
+
      }}
        |2=Y         
+
  }}</pre>
        |3=Z         
+
  |grouplabel7=<pre>
      }} }}</pre>
+
|label7=paraphyly example&nbsp; |style7=background-color:#ffeeff;
 
+
|7={{Clade
|grouplabel6=<pre>
+
  |1={{Clade
  |label6=newick
+
      |1=[[Geraniales]]           
  |style6=background-color:#ddffdd;
+
      |2=[[Myrtales]]             
  |6={{Clade
+
      }}
      |label1=string
+
  |grouplabel2=&nbsp;label a paraphyletic group within a clade   
      |1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera         
+
  |label2=clade
      |label2=subtree  
+
  |style2=background-color:#ffddff;
      |grouplabel2=&nbsp;expanded Newick string     
+
  |2={{Clade
      |labelstyle2=vertical-align: middle;
+
      |1=[[Crossosomatales]]        |barbegin1=purple
      |2={{Clade |style=background-color:#ccffcc;
 
        |newick1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera
 
        |1=Leaf1 (redundant if newick1 set)         
 
        }}
 
      }}</pre>
 
 
 
|grouplabel7=<pre>
 
  |label7=paraphyly example&nbsp;
 
  |style7=background-color:#ffeeff;
 
  |7={{Clade
 
      |1={{Clade
 
        |1=[[Geraniales]]          |state1=dashed
 
        |2=[[Myrtales]]            |state2=dotted
 
        }}
 
      |grouplabel2=&nbsp;label a paraphyletic group within a clade   
 
      |labelstyle2=vertical-align:middle;
 
      |label2=clade
 
      |style2=background-color:#ffddff;
 
 
       |2={{Clade
 
       |2={{Clade
         |1=[[Crossosomatales]]        |barbegin1=purple
+
         |1=[[Picramniales]]        |bar1=purple
        |state1=double
 
 
         |2={{Clade
 
         |2={{Clade
             |1=[[Picramniales]]         |bar1=purple
+
             |1=[[Sapindales]]       |bar1=purple  
 
             |2={{Clade
 
             |2={{Clade
               |1=[[Sapindales]]       |bar1=purple  
+
               |1=[[Huerteales]]     |bar1=purple
 
               |2={{Clade
 
               |2={{Clade
                   |1=[[Huerteales]]    |bar1=purple
+
                   |1=[[Brassicales]] |barend1=purple
                  |2={{Clade
+
                  |2=[[Malvales]]    |style2=background-color:#ff99ff;
                    |1=[[Brassicales]] |barend1=purple
+
  }} }} }} }} }} }}</pre>
                    |2=[[Malvales]]    |style2=background-color:#ff99ff;
 
      }} }} }} }} }} }}</pre>
 
  
 
<!--  }}-->
 
<!--  }}-->
 
}}
 
}}

Latest revision as of 16:05, 28 November 2019

Template:Clade
Node structure
label1

leaf 1

label2
label A

leaf A

label B

leaf B

 leaf 2 is a nested clade structure
label3

leaf 3

sublabel3
|label1=Node structure  |sublabel1=(brackets)
|style1=background-color:#ffdddd;
|1={{Clade
   |label1=label1  
   |1=leaf 1             
   |label2=label2
   |grouplabel2= leaf 3 is a nested clade structure 
   |2={{Clade |style=background-color:#ffaaaa;
      |label1=label A
      |1=leaf A
      |label2=label B
      |2=leaf B
      |bar1=purple |bar2=purple 
      }}
   |label3=label3 |sublabel3=sublabel3
   |3=leaf 3           
   }}
(brackets)

 

Leaf styling
thicknessN

1 (default)

2

 line thickness

3

colorN

black (default)

red

blue

 #00ff00

stateN

solid (default)

dotted

dashed

 line styles

none

double

|label3=Leaf styling  |sublabel3=(branches)
|style3=background-color:#eeeeee;
|3={{Clade
   |label1=thicknessN
   |1={{Clade
      |1=1 (default) |thickness1=1 |barbegin1=blue 
      |2=2           |thickness2=2 |bar2=blue |barlabel2= line thickness
      |3=3           |thickness3=3 |barend3=blue 
      }}
   |label2=colorN
   |2={{Clade
      |1=black (default) |color1=black          
      |2=red             |color2=red    
      |3=blue            |color3=blue   
      |4= #00ff00   |color4=#00ff00   
      }}
   |label3=stateN
   |3={{Clade
      |1=solid (default) |state1=solid  |barbegin1=purple 
      |2=dotted          |state2=dotted |bar2=purple 
      |3=dashed          |state3=dashed |bar3=purple |barlabel3= line styles
      |4=none            |state4=none   |bar4=purple
      |5=double          |state5=double |barend5=purple 
      }}
   }}
(branches)
node styling
thickness

I

J

K

color

A

B

C

state

X

Y

Z

|label4=node styling  |sublabel4=(brackets)
|style4=background-color:#ffffee;
|4={{Clade
   |label1=thickness
   |1={{Clade |thickness=3
      |1=I  
      |2=J          
      |3=K             
      }}
   |label2=color
   |2={{Clade |color=red 
      |1=A
      |2=B                
      |3=C             
      }}
   |label3=state
   |3={{Clade |state=dashed
      |1=X 
      |2=Y         
      |3=Z        
   }} }}
(brackets)

 

newick
string

((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera

subtree
panthera

lion

jaguar

leopard

tiger

siberian

bengal

snow leopard

 expanded Newick string
|label6=newick  
|style6=background-color:#ddffdd;
|6={{Clade
   |label1=string
   |1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera         
   |label2=subtree 
   |grouplabel2= expanded Newick string    
   |grouplabelstyle2=vertical-align: middle;
   |2={{Clade |style=background-color:#ccffcc;
      |newick1=((lion,jaguar,leopard),((siberian,bengal)tiger,snow leopard))panthera
      |1=Leaf1 (redundant if newick1 set)        
      }}
   }}
paraphyly example 

Geraniales

Myrtales

clade

Crossosomatales

Picramniales

Sapindales

Huerteales

Brassicales

Malvales

 label a paraphyletic group within a clade
|label7=paraphyly example  |style7=background-color:#ffeeff;
|7={{Clade
   |1={{Clade
      |1=[[Geraniales]]          
      |2=[[Myrtales]]            
      }}
   |grouplabel2= label a paraphyletic group within a clade   
   |label2=clade
   |style2=background-color:#ffddff;
   |2={{Clade
      |1=[[Crossosomatales]]         |barbegin1=purple
      |2={{Clade
         |1=[[Picramniales]]         |bar1=purple
         |2={{Clade
            |1=[[Sapindales]]        |bar1=purple 
            |2={{Clade
               |1=[[Huerteales]]     |bar1=purple
               |2={{Clade
                  |1=[[Brassicales]] |barend1=purple
                  |2=[[Malvales]]    |style2=background-color:#ff99ff;
   }} }} }} }} }} }}

A cladogram illustrating clade features.