Difference between revisions of "Template:Clade/doc/common"

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
(→‎Browser differences: updated to apparent 2017 position)
imported>Michael Goodyear
Line 285: Line 285:
 
{{clade
 
{{clade
 
|1={{clade
 
|1={{clade
   |label1=[[Banksia subser. Sphaerocarpae|''Banksia'' subser. ''Sphaerocarpae'']]
+
   |label1=[[Banksia subser. Sphaerocarpae|''Banksia''&nbsp;subser.&nbsp;''Sphaerocarpae'']]<!--added label, moved from leaf below-->
 
   |1=(5 taxa)
 
   |1=(5 taxa)
 
   |label2=[[Banksia subser. Leptophyllae|''Banksia''&nbsp;subser.&nbsp;''Leptophyllae'']]
 
   |label2=[[Banksia subser. Leptophyllae|''Banksia''&nbsp;subser.&nbsp;''Leptophyllae'']]
Line 297: Line 297:
 
{{clade
 
{{clade
 
|1={{clade
 
|1={{clade
   |1=[[Banksia subser. Sphaerocarpae|''Banksia''&nbsp;subser.&nbsp;''Sphaerocarpae'']]
+
   |1=[[Banksia subser. Sphaerocarpae|''Banksia''&nbsp;subser.&nbsp;''Sphaerocarpae'']] (5 taxa)
   |2={{clade
+
   |2={{clade<!--dummy-->
       |label1=[[Banksia subser. Leptophyllae|''Banksia''&nbsp;subser.&nbsp;''Leptophyllae'']]
+
       |label1=[[Banksia subser. Leptophyllae|''Banksia''&nbsp;subser.&nbsp;''Leptophyllae'']]<!--moved from 2 to 1 in new clade-->
      |state1=dotted
+
        |1={{clade
      |1={{clade
 
 
         |1=''[[Banksia telmatiaea]]''
 
         |1=''[[Banksia telmatiaea]]''
 
         |2=(4 other taxa)
 
         |2=(4 other taxa)
Line 308: Line 307:
 
   }}
 
   }}
 
}}
 
}}
 +
 
To achieve this, instead of
 
To achieve this, instead of
<pre>{{clade
+
<pre>
 +
{{clade
 +
|1=Sister1
 +
|label2=Sister2
 +
|2={{clade
 +
  |1=taxon1
 +
  |2=taxon2}}
 +
}}
 +
</pre>
 +
which displays as:
 +
{{clade
 
|1=Sister1
 
|1=Sister1
|label2=Sister2
+
|label2=Sister2
|2={{clade
+
|2={{clade
   ...
+
   |1=taxon1
 +
  |2=taxon2}}
 +
}}
 +
use
 +
<pre>
 +
{{clade
 +
|1=Sister1
 +
''|2={{clade'' (extra ''dummy'' clade)
 +
  |label1=Sister2
 +
    |1={{clade
 +
      |1=taxon1
 +
      |2=taxon2}}
 
   }}
 
   }}
}}</pre>
+
}}
use
+
</pre>
<pre>{{clade
+
which displays as:
|1=Sister1
+
{{clade
|2={{clade
+
|1=Sister1
 +
|2={{clade
 
   |label1=Sister2
 
   |label1=Sister2
  |2={{clade
+
    |1={{clade
       ...
+
       |1=taxon1
      }}
+
      |2=taxon2}}
 
   }}
 
   }}
}}</pre>
+
}}
 +
 
 
<!--  ===== FOR cladex ONLY:
 
<!--  ===== FOR cladex ONLY:
  
Line 434: Line 457:
 
}}<!--
 
}}<!--
 
       ===== END OF FOR cladex ONLY-->
 
       ===== END OF FOR cladex ONLY-->
 +
 
==Limitations==
 
==Limitations==
  

Revision as of 23:24, 28 February 2017

50px Template documentation

This is the common part of the documentation for the two templates {{Clade}} and {{Cladex}}. Set the first parameter to "clade" or "cladex" to select which version is shown.