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

From blackwiki
Jump to navigation Jump to search
imported>Michael Goodyear
imported>Anomalocaris
m (<code>...<code> → <code>...</code>)
Line 452: Line 452:
  
 
If your cladogram doesn't display brackets/bars as you expected, check that:
 
If your cladogram doesn't display brackets/bars as you expected, check that:
* You understand the numbering system for the parameters <code>barN<code>, etc. The N must be the same as the number of the child within its clade. Thus typically you should write <code>{{!}}N=''label for leaf''{{!}}barN=''colour for bar''</code>, e.g. <code>{{!}}2=<nowiki>[[Passeridae]]</nowiki>{{!}}bar2=midnightblue</code>.
+
* You understand the numbering system for the parameters <code>barN</code>, etc. The N must be the same as the number of the child within its clade. Thus typically you should write <code>{{!}}N=''label for leaf''{{!}}barN=''colour for bar''</code>, e.g. <code>{{!}}2=<nowiki>[[Passeridae]]</nowiki>{{!}}bar2=midnightblue</code>.
 
* You have only attempted to apply brackets/bars to ''leaf'' nodes.
 
* You have only attempted to apply brackets/bars to ''leaf'' nodes.
 
* Either the outermost clade uses {{tlf|Clade}} or if it has to use {{tlf|Cladex}}, then <code>{{!}}style=width:auto</code> is present.
 
* Either the outermost clade uses {{tlf|Clade}} or if it has to use {{tlf|Cladex}}, then <code>{{!}}style=width:auto</code> is present.

Revision as of 11:07, 7 February 2018

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.