<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AClade_labels%2Fdoc</id>
	<title>Template:Clade labels/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AClade_labels%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Clade_labels/doc&amp;action=history"/>
	<updated>2026-11-02T10:02:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Template:Clade_labels/doc&amp;diff=126702&amp;oldid=prev</id>
		<title>Wikipedia&gt;Jonesey95: cat</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Clade_labels/doc&amp;diff=126702&amp;oldid=prev"/>
		<updated>2023-07-07T15:54:44Z</updated>

		<summary type="html">&lt;p&gt;cat&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a utility template for labelling cladograms made with the {{tl|clade}} template. In particular it is for use with {{para|grouplabelN}} and adding multiple labels with defined positions.&lt;br /&gt;
&lt;br /&gt;
The functionality of this template is similar to {{tl|barlabel}}.&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
The following parameters apply to each label:&lt;br /&gt;
&lt;br /&gt;
* {{para|labelN}} (where N is 1,2, ... N) &amp;amp;ndash; the text to place in the label&lt;br /&gt;
* {{para|topN}} &amp;amp;ndash; 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.&lt;br /&gt;
* {{para|bottomN}}, {{para|leftN}}, {{para|leafN}} &amp;amp;ndash; similar to {{para|topN}} these parameters position the  bottom, left and right of the label. The behaviour is counter-intuitive. Because {{para|leftN}} shifts the left edge of the label, the result is a shift to the right.&lt;br /&gt;
* {{para|styleN}}&amp;amp;ndash; add CSS styleing specific to the numbered label. &lt;br /&gt;
* {{para|colorN}} &amp;amp;ndash; changes the color of text in the label. &lt;br /&gt;
&lt;br /&gt;
The following parameters apply to all the labels in the group:&lt;br /&gt;
&lt;br /&gt;
* {{para|width}} &amp;amp;ndash; fixes the width of the element containing the group of labels. This is useful because the positioning uses absolute CSS positions so they don&amp;#039;t automatically change the size of the parenet element. As a result the labels can appear outside the parent element.&lt;br /&gt;
* {{para|style}} &amp;amp;ndash; applies a common CCS style to all the labels &lt;br /&gt;
* {{para|left}} &amp;amp;ndash; shifts all the labels to the right. &lt;br /&gt;
* {{para|top}},{{para|bottom}}, {{para|right}} &amp;amp;ndash; similar to {{para|left}} these shift the positions of all the labels&lt;br /&gt;
* {{para|color}} &amp;amp;ndash; changes the color of text in all the labels. &lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{clade example|code=|output=&lt;br /&gt;
|code1=&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{clade&lt;br /&gt;
|label1=root&lt;br /&gt;
|1={{clade&lt;br /&gt;
   |1=Leaf 1 |bar1=green&lt;br /&gt;
   |2={{clade&lt;br /&gt;
      |1=Leaf 2&amp;amp;nbsp; |bar1=green&lt;br /&gt;
      |bar2=red&lt;br /&gt;
      |2={{clade&lt;br /&gt;
         |1=Leaf 3&amp;amp;nbsp; &lt;br /&gt;
         |2=Leaf 4 &lt;br /&gt;
         }}&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
|grouplabel1={{clade labels |width=10em;&lt;br /&gt;
             |label1=stem group  |top1=20% |color1=green&lt;br /&gt;
             |label2=crown group |top2=70% |color2=red&lt;br /&gt;
             }}  &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|output1={{clade&lt;br /&gt;
|label1=root&lt;br /&gt;
|1={{clade&lt;br /&gt;
   |1=Leaf 1 |bar1=green&lt;br /&gt;
   |2={{clade&lt;br /&gt;
      |1=Leaf 2&amp;amp;nbsp; |bar1=green&lt;br /&gt;
      |bar2=red&lt;br /&gt;
      |2={{clade&lt;br /&gt;
         |1=Leaf 3&amp;amp;nbsp; &lt;br /&gt;
         |2=Leaf 4 &lt;br /&gt;
         }}&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
|grouplabel1={{clade labels |width=10em;&lt;br /&gt;
             |label1=stem group  |top1=20% |color1=green&lt;br /&gt;
             |label2=crown group |top2=70% |color2=red&lt;br /&gt;
             }}  &lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Genealogy formatting templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Jonesey95</name></author>
	</entry>
</feed>