31:
1656:
The template works by constructing a hidden table. Different browsers (user agents) have different algorithms for laying out tables, so the precise alignment of the labels differs between browsers and platforms, and is not always exactly opposite the chosen leaf node. Although it's possible to
268:
Decide against which leaf nodes you want the labels to go. To centre the labels, the label for the green group should be opposite leaf node 3; the label for the purple group should be between leaf nodes 5 and 6, i.e. opposite leaf node "5.5". The
1647:, otherwise the space occupied by the labels will be ignored in placing the cladogram. Trial and error may be needed, but about 60% of the number of characters in the longest label is usually a good starting point.
825:, otherwise the labels will appear off the right of the page. Trial and error may be needed, but about 60% of the number of characters in the longest label is usually a good starting point. Thus
821:
The cladogram can be aligned to the right, with text flowing around it to the left, but in this case you must specify the space allowed for the labels using the parameter
1530:. The label is placed opposite the chosen leaf node. For a label between two leaf nodes, use the average. Thus to place the first label opposite leaf node 6, use
1657:'tweak' the alignment for one browser/platform combination (e.g. by using fractional positions other than 0.5), this won't work across combinations.
1469:
Up to six labels can be provided. They are identified by the digit in the name of the parameter. Each label requires three parameters, e.g.
1526:
defines the position of label N in terms of position of the leaf node in the whole cladogram, starting from 1 and ending at the value of
1132:
parameter is needed to ensure the cladogram is centred; if it is omitted, the labels will be ignored in determining the placement. Thus
38:
52:
61:
This template is used to add labels to brackets and bars which have been added to cladograms constructed with
1660:
The template does not check the ranges of the parameters supplied, so make sure that the values of the
1630:. The last two allow text to flow around the side of the cladogram, i.e. it is embedded in the text.
1608:
If you do, the cladogram and the labels will not align correctly as they will be of different sizes.
1707:
1442:
41:
1699:
is needed whenever the cladogram is aligned to the centre, right or left. This includes placing
46:
17:
1483:
There is no connection between these numbers and the numbers used to identify child nodes in
277:
The full expression required is shown below (excluding the code to create the cladogram).
1438:(The template can be used to align cladograms without brackets/bars and labels, although
1427:
The cladogram can also be aligned left with text flowing around it to the right by using
1600:
1566:
1487:
84:
65:
1586:
The size of the text used in the cladogram and labels can be altered by using the
1544:
defines the text of label N. Thus to give the third label the text "Group 3", use
261:
Count the number of leaf nodes in the cladogram; here there are 7. The parameter
1554:
defines the colour of label N. Thus to put the second label in green text, use
1534:; to place the third label opposite a point between leaf nodes 6 and 7, use
1461:
must be set to the total number of leaf nodes in the cladogram, e.g.
257:
To provide labels for the two groups identified in the cladogram:
1435:
parameter is needed, otherwise the labels will overlap the text.
542:
To reduce the font size of the cladogram and its labels, use the
55:
and other content that is not part of the original template page.
1120:
The cladogram can be placed centrally on the page by specifying
1640:, you must also specify the space allowed for the labels using
25:
1680:
are defined. The colour of the text of the label (defined by
93:
Then embed the cladogram in this template as the value of
1614:
The cladogram can be aligned centrally by specifying
106:
Suppose you have created the cladogram shown below.
273:
parameters of the template are set to these values.
1664:parameters are less or equal to the value of the
1713:and aligning it to the right via that template.
1668:parameters. Label N will only be displayed if
8:
951:produces the cladogram on the right below.
1622:, or to the right or left by specifying
94:
1448:offers more options for doing this.)
7:
1341:
1320:
1273:
1265:
1034:
1013:
966:
958:
735:
714:
667:
659:
456:
435:
388:
380:
185:
164:
117:
109:
1596:Do not alter the font size in the
51:It may contain usage information,
24:
29:
80:First create a cladogram using
1:
1495:The "1" can be omitted, i.e.
1260:
953:
654:
375:
1730:
1372:
1359:
1346:
1339:
1325:
1318:
1304:
1291:
1278:
1271:
1065:
1052:
1039:
1032:
1018:
1011:
997:
984:
971:
964:
766:
753:
740:
733:
719:
712:
698:
685:
672:
665:
487:
474:
461:
454:
440:
433:
419:
406:
393:
386:
216:
203:
190:
183:
169:
162:
148:
135:
122:
115:
1134:
827:
548:
279:
1652:Limitations, debugging
1481:for the second label.
1692:) defaults to black.
1580:can be used instead.)
1592:|style=font-size:85%
95:|cladogram=
1562:is consistent with
1507:are equivalent to
44:
1425:
1424:
1410:
1409:
1401:
1400:
1392:
1391:
1383:
1382:
1118:
1117:
1103:
1102:
1094:
1093:
1085:
1084:
1076:
1075:
819:
818:
804:
803:
795:
794:
786:
785:
777:
776:
540:
539:
525:
524:
516:
515:
507:
506:
498:
497:
265:will be set to 7.
254:
253:
245:
244:
236:
235:
227:
226:
59:
58:
47:Template:Barlabel
36:
18:Template:Barlabel
1721:
1712:
1706:
1702:
1698:
1691:
1687:
1683:
1679:
1675:
1671:
1667:
1663:
1646:
1639:
1635:
1629:
1625:
1621:
1617:
1613:
1605:
1599:
1593:
1590:parameter, e.g.
1589:
1585:
1579:
1575:
1571:
1565:
1561:
1557:
1553:
1547:
1543:
1537:
1533:
1529:
1525:
1518:
1514:
1510:
1506:
1502:
1498:
1492:
1486:
1480:
1476:
1472:
1464:
1460:
1447:
1441:
1434:
1430:
1342:
1321:
1274:
1266:
1261:
1254:
1250:
1247:
1244:
1240:
1237:
1234:
1230:
1227:
1224:
1220:
1217:
1214:
1210:
1207:
1204:
1200:
1197:
1194:
1190:
1187:
1184:
1180:
1177:
1174:
1170:
1167:
1164:
1160:
1157:
1154:
1150:
1147:
1144:
1141:
1138:
1131:
1127:
1123:
1035:
1014:
967:
959:
954:
947:
943:
940:
937:
933:
930:
927:
923:
920:
917:
913:
910:
907:
903:
900:
897:
893:
890:
887:
883:
880:
877:
873:
870:
867:
863:
860:
857:
853:
850:
847:
843:
840:
837:
834:
831:
824:
736:
715:
668:
660:
655:
648:
644:
641:
638:
634:
631:
628:
624:
621:
618:
614:
611:
608:
604:
601:
598:
594:
591:
588:
584:
581:
578:
574:
571:
568:
564:
561:
558:
555:
552:
546:parameter. Thus
545:
457:
436:
389:
381:
376:
369:
365:
362:
359:
355:
352:
349:
345:
342:
339:
335:
332:
329:
325:
322:
319:
315:
312:
309:
305:
302:
299:
295:
292:
289:
286:
283:
272:
264:
186:
165:
118:
110:
96:
89:
83:
70:
64:
33:
32:
26:
1729:
1728:
1724:
1723:
1722:
1720:
1719:
1718:
1716:
1710:
1704:
1700:
1696:
1689:
1685:
1681:
1677:
1673:
1669:
1665:
1661:
1654:
1641:
1637:
1633:
1627:
1623:
1619:
1615:
1611:
1603:
1597:
1591:
1587:
1583:
1577:
1573:
1569:
1563:
1559:
1555:
1551:
1546:|label3=Group 3
1545:
1541:
1535:
1531:
1527:
1523:
1516:
1512:
1508:
1504:
1500:
1496:
1490:
1484:
1478:
1474:
1470:
1462:
1458:
1455:
1449:
1445:
1439:
1432:
1428:
1421:
1420:
1417:
1411:
1402:
1393:
1384:
1256:
1255:
1252:
1248:
1245:
1242:
1238:
1235:
1232:
1228:
1225:
1222:
1218:
1215:
1212:
1208:
1205:
1202:
1198:
1195:
1192:
1188:
1185:
1182:
1178:
1175:
1172:
1168:
1165:
1162:
1158:
1155:
1152:
1148:
1145:
1142:
1139:
1136:
1129:
1125:
1121:
1114:
1113:
1110:
1104:
1095:
1086:
1077:
949:
948:
945:
941:
938:
935:
931:
928:
925:
921:
918:
915:
911:
908:
905:
901:
898:
895:
891:
888:
885:
881:
878:
875:
871:
868:
865:
861:
858:
855:
851:
848:
845:
841:
838:
835:
832:
829:
822:
815:
814:
811:
805:
796:
787:
778:
650:
649:
646:
642:
639:
636:
632:
629:
626:
622:
619:
616:
612:
609:
606:
602:
599:
596:
592:
589:
586:
582:
579:
576:
572:
569:
566:
562:
559:
556:
553:
550:
543:
536:
535:
532:
526:
517:
508:
499:
371:
370:
367:
363:
360:
357:
353:
350:
347:
343:
340:
337:
333:
330:
327:
323:
320:
317:
313:
310:
307:
303:
300:
297:
293:
290:
287:
284:
281:
270:
262:
255:
246:
237:
228:
104:
87:
81:
77:
68:
62:
50:
30:
22:
21:
20:
12:
11:
5:
1727:
1725:
1653:
1650:
1649:
1648:
1631:
1609:
1581:
1549:
1539:
1467:
1466:
1454:
1451:
1423:
1422:
1418:
1415:
1414:
1412:
1408:
1407:
1404:
1403:
1399:
1398:
1395:
1394:
1390:
1389:
1386:
1385:
1381:
1380:
1377:
1376:
1371:
1368:
1367:
1364:
1363:
1358:
1355:
1354:
1351:
1350:
1345:
1340:
1338:
1334:
1333:
1330:
1329:
1324:
1319:
1317:
1313:
1312:
1309:
1308:
1303:
1300:
1299:
1296:
1295:
1290:
1287:
1286:
1283:
1282:
1277:
1272:
1270:
1264:
1135:
1116:
1115:
1111:
1108:
1107:
1105:
1101:
1100:
1097:
1096:
1092:
1091:
1088:
1087:
1083:
1082:
1079:
1078:
1074:
1073:
1070:
1069:
1064:
1061:
1060:
1057:
1056:
1051:
1048:
1047:
1044:
1043:
1038:
1033:
1031:
1027:
1026:
1023:
1022:
1017:
1012:
1010:
1006:
1005:
1002:
1001:
996:
993:
992:
989:
988:
983:
980:
979:
976:
975:
970:
965:
963:
957:
828:
817:
816:
812:
809:
808:
806:
802:
801:
798:
797:
793:
792:
789:
788:
784:
783:
780:
779:
775:
774:
771:
770:
765:
762:
761:
758:
757:
752:
749:
748:
745:
744:
739:
734:
732:
728:
727:
724:
723:
718:
713:
711:
707:
706:
703:
702:
697:
694:
693:
690:
689:
684:
681:
680:
677:
676:
671:
666:
664:
658:
565:font-size:85%
549:
538:
537:
533:
530:
529:
527:
523:
522:
519:
518:
514:
513:
510:
509:
505:
504:
501:
500:
496:
495:
492:
491:
486:
483:
482:
479:
478:
473:
470:
469:
466:
465:
460:
455:
453:
449:
448:
445:
444:
439:
434:
432:
428:
427:
424:
423:
418:
415:
414:
411:
410:
405:
402:
401:
398:
397:
392:
387:
385:
379:
373:This produces
280:
275:
274:
266:
252:
251:
248:
247:
243:
242:
239:
238:
234:
233:
230:
229:
225:
224:
221:
220:
215:
212:
211:
208:
207:
202:
199:
198:
195:
194:
189:
184:
182:
178:
177:
174:
173:
168:
163:
161:
157:
156:
153:
152:
147:
144:
143:
140:
139:
134:
131:
130:
127:
126:
121:
116:
114:
108:
103:
100:
99:
98:
91:
76:
73:
57:
56:
34:
23:
15:
14:
13:
10:
9:
6:
4:
3:
2:
1726:
1717:
1714:
1709:
1693:
1658:
1651:
1645:
1632:
1620:|align=centre
1616:|align=center
1610:
1607:
1602:
1582:
1568:
1550:
1540:
1522:
1521:
1520:
1494:
1489:
1457:
1456:
1452:
1450:
1444:
1436:
1413:
1406:
1405:
1397:
1396:
1388:
1387:
1379:
1378:
1375:
1370:
1369:
1366:
1365:
1362:
1357:
1356:
1353:
1352:
1349:
1344:
1343:
1336:
1335:
1332:
1331:
1328:
1323:
1322:
1315:
1314:
1311:
1310:
1307:
1302:
1301:
1298:
1297:
1294:
1289:
1288:
1285:
1284:
1281:
1276:
1275:
1268:
1267:
1263:
1262:
1259:
1151:font-size:85%
1133:
1126:|align=centre
1122:|align=center
1106:
1099:
1098:
1090:
1089:
1081:
1080:
1072:
1071:
1068:
1063:
1062:
1059:
1058:
1055:
1050:
1049:
1046:
1045:
1042:
1037:
1036:
1029:
1028:
1025:
1024:
1021:
1016:
1015:
1008:
1007:
1004:
1003:
1000:
995:
994:
991:
990:
987:
982:
981:
978:
977:
974:
969:
968:
961:
960:
956:
955:
952:
844:font-size:85%
826:
807:
800:
799:
791:
790:
782:
781:
773:
772:
769:
764:
763:
760:
759:
756:
751:
750:
747:
746:
743:
738:
737:
730:
729:
726:
725:
722:
717:
716:
709:
708:
705:
704:
701:
696:
695:
692:
691:
688:
683:
682:
679:
678:
675:
670:
669:
662:
661:
657:
656:
653:
547:
528:
521:
520:
512:
511:
503:
502:
494:
493:
490:
485:
484:
481:
480:
477:
472:
471:
468:
467:
464:
459:
458:
451:
450:
447:
446:
443:
438:
437:
430:
429:
426:
425:
422:
417:
416:
413:
412:
409:
404:
403:
400:
399:
396:
391:
390:
383:
382:
378:
377:
374:
278:
267:
260:
259:
258:
250:
249:
241:
240:
232:
231:
223:
222:
219:
214:
213:
210:
209:
206:
201:
200:
197:
196:
193:
188:
187:
180:
179:
176:
175:
172:
167:
166:
159:
158:
155:
154:
151:
146:
145:
142:
141:
138:
133:
132:
129:
128:
125:
120:
119:
112:
111:
107:
101:
92:
86:
79:
78:
74:
72:
67:
54:
48:
43:
40:
39:documentation
35:
28:
27:
19:
1715:
1711:}}
1705:{{
1701:{{barlabel}}
1694:
1659:
1655:
1643:
1624:|align=right
1604:}}
1598:{{
1595:
1570:}}
1564:{{
1558:. (The name
1491:}}
1485:{{
1482:
1468:
1446:}}
1440:{{
1437:
1431:. Again the
1426:
1373:
1360:
1347:
1326:
1305:
1292:
1279:
1257:
1119:
1066:
1053:
1040:
1019:
998:
985:
972:
950:
820:
767:
754:
741:
720:
699:
686:
673:
651:
541:
488:
475:
462:
441:
420:
407:
394:
372:
276:
256:
217:
204:
191:
170:
149:
136:
123:
105:
88:}}
82:{{
69:}}
63:{{
60:
1642:labelwidth=
1636:When using
1628:|align=left
1556:|bar3=green
1429:|align=left
1697:labelwidth
1634:labelwidth
1572:; however
1453:Parameters
1433:labelwidth
1166:labelwidth
1130:labelwidth
859:labelwidth
823:labelwidth
53:categories
37:This is a
1708:cladogram
1606:template!
1443:cladogram
1348:G1
1258:produces
1246:cladogram
1041:G1
939:cladogram
742:G1
652:produces
640:cladogram
463:G1
361:cladogram
192:G1
1695:Setting
1536:|at3=6.5
1463:|size=23
1140:Barlabel
833:Barlabel
554:Barlabel
285:Barlabel
1703:inside
1690:colourN
1638:|align=
1574:colourN
1419:Group 2
1416:Group 1
1241:purple
1231:Group 2
1201:Group 1
1112:Group 2
1109:Group 1
934:purple
924:Group 2
894:Group 1
813:Group 2
810:Group 1
635:purple
625:Group 2
595:Group 1
534:Group 2
531:Group 1
356:purple
346:Group 2
316:Group 1
102:Example
42:subpage
1686:colorN
1678:labelN
1644:number
1578:colorN
1542:labelN
1532:|at1=6
1513:label1
1475:label2
1226:label2
1211:green
1196:label1
1161:center
1128:. The
919:label2
904:green
889:label1
620:label2
605:green
590:label1
341:label2
326:green
311:label1
1612:align
1601:clade
1588:style
1584:style
1567:clade
1501:label
1488:clade
1156:align
1146:style
854:right
849:align
839:style
560:style
544:style
85:clade
75:Usage
66:clade
16:<
1682:barN
1676:and
1670:size
1666:size
1552:barN
1528:size
1517:bar1
1515:and
1503:and
1479:bar2
1477:and
1459:size
1251:...
1236:bar2
1206:bar1
1176:size
1171:4.5
944:...
929:bar2
899:bar1
869:size
864:4.5
645:...
630:bar2
600:bar1
570:size
366:...
351:bar2
321:bar1
291:size
263:size
45:for
1688:or
1674:atN
1662:atN
1626:or
1618:or
1576:or
1560:bar
1524:atN
1509:at1
1505:bar
1471:at2
1374:G3
1361:G2
1337:C2
1327:C1
1306:A3
1293:A2
1280:A1
1269:GM
1221:5.5
1216:at2
1186:at1
1124:or
1067:G3
1054:G2
1030:C2
1020:C1
999:A3
986:A2
973:A1
962:GM
914:5.5
909:at2
879:at1
768:G3
755:G2
731:C2
721:C1
700:A3
687:A2
674:A1
663:GM
615:5.5
610:at2
580:at1
489:G3
476:G2
452:C2
442:C1
421:A3
408:A2
395:A1
384:GM
336:5.5
331:at2
301:at1
218:G3
205:G2
181:C2
171:C1
150:A3
137:A2
124:A1
113:GM
1684:,
1672:,
1594:.
1519:.
1511:,
1499:,
1497:at
1473:,
1316:M
1253:}}
1181:7
1137:{{
1009:M
946:}}
874:7
830:{{
710:M
647:}}
575:7
551:{{
431:M
368:}}
296:7
282:{{
271:at
160:M
71:.
1548:.
1538:.
1493:.
1465:.
1249:=
1243:|
1239:=
1233:|
1229:=
1223:|
1219:=
1213:|
1209:=
1203:|
1199:=
1193:|
1191:3
1189:=
1183:|
1179:=
1173:|
1169:=
1163:|
1159:=
1153:|
1149:=
1143:|
942:=
936:|
932:=
926:|
922:=
916:|
912:=
906:|
902:=
896:|
892:=
886:|
884:3
882:=
876:|
872:=
866:|
862:=
856:|
852:=
846:|
842:=
836:|
643:=
637:|
633:=
627:|
623:=
617:|
613:=
607:|
603:=
597:|
593:=
587:|
585:3
583:=
577:|
573:=
567:|
563:=
557:|
364:=
358:|
354:=
348:|
344:=
338:|
334:=
328:|
324:=
318:|
314:=
308:|
306:3
304:=
298:|
294:=
288:|
97:.
90:.
49:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.