Jump to content

User talk:UtherSRG/primate clade

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Getting there...[edit]

@Jts1882: My tree is coming along nicely. I may add colors and images at some point, but I have two issues for now.

  1. When I added the sublabel for Australopithecina, it got too close to the label for Panina. I adjusted by adding <br>s to both the Panina label and Pan leaf. Is there a better way to do this? (If I add images, I probably won't need this but...)
  2. I can't get the langur (leaf monkey) group label to center on the group while maintaining the correctness of the grouping bars. Any thoughts?

UtherSRG (talk) 15:03, 29 September 2022 (UTC)[reply]

Solved my first problem... I see you use dummy lines for spacers. - UtherSRG (talk) 15:09, 29 September 2022 (UTC)[reply]
And my second one. You have sooo many examples to follow. :) UtherSRG (talk) 15:11, 29 September 2022 (UTC)[reply]
One comment on the use of group labels. The |grouplabel= parameter adds an additional HTML cell to the clade table (see diagram in Adding text labels to brackets). The parameter |grouplabel1= will align horizontally with |label1=. The {{clade labels}} template positions the labels relative to this extra cell (top=0%; bottom=100%), with |top=50% aligning it with the |label1= in the same {{clade}} template. If you use |grouplabel2= with |label2=Presbytini the positioning might be easier to follow (needing about |top=25%. The way you have done it, you've added a grouplabel cell to the right of Presbytis and then positioned the label below the cell. When I use {{clade labels}} I tend to put the grouplabel on the outer clade (Primates in your cladogram) and have one template labelling all the right hand labels for the whole cladogram (e.g. see Pseudoscorpion). It aligns them and keeps them in one place. —  Jts1882 | talk  17:10, 29 September 2022 (UTC)[reply]
@Jts1882: Ah! I see now. When I was trying without the {{clade labels}} I was having no luck at all. As I update to have more "stuff" in the tree, I'll see what I want to do wrt moving the labels to the root clade. - UtherSRG (talk) 18:15, 29 September 2022 (UTC)[reply]
The structure is quite unintuitive, but once you understand how the HTML table is set up you have the possibility of multiple labels to the right. Here is a test example I've played with: Giribet & Edgecombe (2020). —  Jts1882 | talk  19:28, 29 September 2022 (UTC)[reply]