Template talk:Clade
From Wikipedia, the free encyclopedia
Documentation is at Template:Clade/doc.
I'm afraid this template is not ready for the big time, as it has a number of problems:
1.If a label is long, it wraps, thereby potentially breaking the connection of its line to its subclade. e.g.
| B. ser. Abietinae |
|
||||||||||||||||||||||||||||||||||||||||||
2. If you use non-breaking whitespace to prevent wrapping, the subclades get squashed up. e.g.
| B. ser. Abietinae |
|
||||||||||||||||||||||||||||||||||||||||||
3. Label widths are determined by the widths of labels of sister labels, but not of any other labels at the same rank. This looks silly when one unlabelled clade has a longer stem than all the others. This can be seen in the example above.
I have fiddled for hours in my sandbox, and I'm afraid all these problems have defeated me. If someone could possible figure out a solution, it would be much appreciated. Hesperian 05:37, 21 October 2007 (UTC)
- The collapse problem could probably be avoided by including invisible spacer elements, like the
<div>s used in Template:Familytree. This may be as easy as including some s somewhere, but I haven't really looked at the code of this template closely enough to tell yet. I'm too tired to do that now, but I'll see if I can find some time for it later. One general suggestion I'd make, based on my experience with the familytree template, is to use HTML table syntax instead of wikitables: you're likely to see a significant improvement in the parsing speed of complex trees. —Ilmari Karonen (talk) 22:44, 27 October 2007 (UTC)
This template does not show up correctly in Safari and Konqueror. The latter passes the ACID2, so there must be some problems with the template itself. This template could be extremely useful (I've already used it in many articles), please fix these problems! Thank you very much! (see this discussion). Aelwyn 08:57, 3 November 2007 (UTC)
[edit] Editor
Just in case there are potential users who are put off by the complexity, there is a simple utility over here that may help Windows users create Cladograms by visually editing the trees. http://code.google.com/p/claded/downloads/list
I wrote it, but do not think I might get to extend it further or support feature requests or bug reports, but the source code is out there for improvement. Shyamal (talk) 12:29, 18 April 2008 (UTC)

