Module:Sandbox/Jts1882/CladeN/doc: Difference between revisions

Content deleted Content added
add schematic to demonstrate the clade structure
add to technical description Technical background
Line 31:
 
{| class="wikitable"
! Description
! Table cell structure
! Cladogram
! Code using clade template
|-
| style="width:20%;" |<p>A simple clade structure with a single child node (or leaf).</p><p>This is an HTML table with two rows and two colums. The the cells of the righthand column are merged using the rowspan attribute.</p>
|style="padding:50px" |
{| style="line-height:100%;border:1px dotted red;margin:1px;"
|-
| style="border:1px dotted green;border-bottom:3px solid black;text-align:center;" | labelA
| rowspan=2 style="border:1px dotted green;padding:0.1em;" |
Leaf A
|-
| style="border:1px solid green;" | sublabelA
|}
|style="padding:20px" |
{{cladeN |thickness=3
|label1=labelA
|sublabel1=sublabelA
|1=LeafA
}}
|style="padding:20px" |<pre>
{{cladeN |thickness=3
|label1=labelA
|sublabel1=sublabelA
|1=LeafA
}}</pre>
|-
| style="width:20%;" |<p>Replace LeafA with another clade structure.</p><p>A second HTML table is placed inside a the right-hand cell of the outer table.
|style="padding:50px" |
{| style="line-height:100%;border:1px dotted red;margin:1px;"
|-
Line 67 ⟶ 93:
}}
}}
|style="padding:20px" |<pre>
{{cladeN |thickness=3
|label1=labelA
|sublabel1=sublabelA
|1={{cladeN |thickness=3
|label1=label1
|sublabel1=sublabel1
|1=leaf1
|label2=label2
|sublabel2=sublabel2
|2=leaf2
}}
}}</pre>
|}