Template:Clade labels/doc

This is a utility template for labelling cladograms made with the clade template. In particular it is for use with grouplabelN and adding multiple labels with defined positions.

The functionality of this template is similar to barlabel.

Parameters
The following parameters apply to each label:


 * labelN (where N is 1,2, ... N) – the text to place in the label
 * topN – the position of the label from the top of the table cell containing the group label. It is recommended that the value be given in %, e.g. 50% to center the label. This is the CSS property so the values can also be given in other units.
 * bottomN, leftN, leafN – similar to topN these parameters position the bottom, left and right of the label. The behaviour is counter-intuitive. Because leftN shifts the left edge of the label, the result is a shift to the right.
 * styleN– add CSS styleing specific to the numbered label.
 * colorN – changes the color of text in the label.

The following parameters apply to all the labels in the group:


 * width – fixes the width of the element containing the group of labels. This is useful because the positioning uses absolute CSS positions so they don't automatically change the size of the parenet element. As a result the labels can appear outside the parent element.
 * style – applies a common CCS style to all the labels
 * left – shifts all the labels to the right.
 * top,bottom, right – similar to left these shift the positions of all the labels
 * color – changes the color of text in all the labels.