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

Content deleted Content added
m properly close <p>
update and add addition table for grouplabel (not yet modified) Technical background
Line 36:
! Code using clade template
|-
| style="width:2025%;" |<p>A simple clade structure with a single child node (or leaf).</p><p>This is an HTML table with two rows and two columscolumns. The upper and lower cells in the left column hold the labels provided by {{para|label}} and {{para|sublabel}} parameters, respectively. 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;"
Line 59:
}}</pre>
|-
| style="width:20%;" |<p>ReplaceTo build the cladogram, a the text in LeafA can be replaced with another clade structure.</p><p>AHence a second HTML table is placed inside a the right-hand cell of the outer table.</p>
|style="padding:50px" |
{| style="line-height:100%;border:1px dotted red;margin:1px;"
Line 108:
|}
 
====Add right hand labels with grouplabel====
 
 
{| class="wikitable"
! Description
! Table cell structure
! Cladogram
! Code using clade template
|-
| style="width:25%;" |<p>A simple clade structure with a single child node (or leaf).</p><p>This is an HTML table with two rows and two columns. The upper and lower cells in the left column hold the labels provided by {{para|label}} and {{para|sublabel}} parameters, respectively. 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>To build the cladogram, a the text in LeafA can be replaced with another clade structure.</p><p>Hence a second HTML table is placed inside a the right-hand cell of the outer table.</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;" |
{| class="clade" style="line-height:100%;border:1px dotted red;margin:1px;"
|-
| style="border:1px dotted green;border-bottom:3px solid black;" | label1
| rowspan=2 style="border:1px dotted green;vertical-align:middle;padding:0 1em;" |leaf1
|-
| style="border:1px dotted green;border-left:3px solid black;" | sublabel1
|-
| style="border:1px dotted green;border-bottom:3px solid black;border-left:3px solid black;" | label2
| rowspan=2 style="border:1px dotted green;vertical-align:middle;padding:0 1em;" |leaf2
|-
| style="border:1px dotted green;" | sublabel2
|}
|-
| style="border:1px solid green;" | sublabelA
|}
|style="padding:20px" |
{{cladeN |thickness=3
|label1=labelA
|sublabel1=sublabelA
|1={{cladeN |thickness=3
|label1=label1
|sublabel1=sublabel1
|1=leaf1
|label2=label2
|sublabel2=sublabel2
|2=leaf2
}}
}}
|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>
|}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |