<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAhnentafel%2Fdoc</id>
	<title>Template:Ahnentafel/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAhnentafel%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Ahnentafel/doc&amp;action=history"/>
	<updated>2026-04-04T11:33:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Ahnentafel/doc&amp;diff=4884&amp;oldid=prev</id>
		<title>Wikipedia&gt;WOSlinker: change source to syntaxhighlight</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Ahnentafel/doc&amp;diff=4884&amp;oldid=prev"/>
		<updated>2020-07-07T10:07:09Z</updated>

		<summary type="html">&lt;p&gt;change source to syntaxhighlight&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;
{{Lua|Module:Ahnentafel}}&lt;br /&gt;
{{Uses TemplateStyles|Template:Ahnentafel/styles.css}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;{{NAMESPACE}}:{{BASEPAGENAME}}&amp;#039;&amp;#039;&amp;#039; is a family tree template that will handle an [[ahnentafel]] of up to 511 places (9 generations), but will also display between 2 and 8 generations. It is recommended to extend the chart to no more than 6 levels (63 nodes) to fit the content into prevalent desktop screen resolutions.&lt;br /&gt;
&lt;br /&gt;
The template presents genealogical data in the form of a graphical [[ahnentafel]] ancestry tree (realized as an [[HTML table]]). The entries in the ahnentafel are given as numbered parameters to the template, and may contain arbitrary [[wikimarkup]]. &lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot; style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{ahnentafel&lt;br /&gt;
|collapsible=yes&lt;br /&gt;
|collapsed=yes&lt;br /&gt;
|ref=&lt;br /&gt;
|float=&lt;br /&gt;
|align=&lt;br /&gt;
|boxstyle_1=&lt;br /&gt;
|boxstyle_2=&lt;br /&gt;
|boxstyle_3=&lt;br /&gt;
|boxstyle_4=&lt;br /&gt;
|boxstyle_5=&lt;br /&gt;
|1=&lt;br /&gt;
|2=&lt;br /&gt;
...&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The template accepts the following named parameters:&lt;br /&gt;
;&amp;lt;code&amp;gt;style&amp;lt;/code&amp;gt;: [[Cascading Style Sheets|CSS]] style attributes to be applied to the entire table.&lt;br /&gt;
;&amp;lt;code&amp;gt;boxstyle&amp;lt;/code&amp;gt;: CSS style attributes to be applied to the boxes containing the entries.&lt;br /&gt;
;&amp;lt;code&amp;gt;border&amp;lt;/code&amp;gt;: Thickness of the borders around the boxes in pixels (default: 2).&lt;br /&gt;
;&amp;lt;code&amp;gt;boxstyle_1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;boxstyle_2&amp;lt;/code&amp;gt;, ...: CSS style attributes to be applied to the boxes in a given column.&lt;br /&gt;
;&amp;lt;code&amp;gt;border_1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;border_2&amp;lt;/code&amp;gt;, ...: Thickness of the borders around the boxes in a given column.&lt;br /&gt;
;&amp;lt;code&amp;gt;align&amp;lt;/code&amp;gt;: Alignment of the chart: left, right, center&lt;br /&gt;
;&amp;lt;code&amp;gt;headnotes&amp;lt;/code&amp;gt;: Adds optional text above the chart (most useful in collapsible mode)&lt;br /&gt;
;&amp;lt;code&amp;gt;footnotes&amp;lt;/code&amp;gt;: Adds optional text below the chart (most useful in collapsible mode)&lt;br /&gt;
Options for the collapsible outer container (if enabled)&lt;br /&gt;
;&amp;lt;code&amp;gt;collapsible&amp;lt;/code&amp;gt;: set to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt; to make the table collapsible&lt;br /&gt;
;&amp;lt;code&amp;gt;collapsed&amp;lt;/code&amp;gt;: set to &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt; to expand by default, and &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt; to collapse by default&lt;br /&gt;
;&amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;: overrides the default container title when collapsible&lt;br /&gt;
;&amp;lt;code&amp;gt;ref&amp;lt;/code&amp;gt;: adds an optional reference to the end of the title; use normal &amp;quot;ref&amp;quot; mark-up for a single footnote covering the whole table&lt;br /&gt;
;&amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt;: float the outer container: &amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;right&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;center&amp;lt;/code&amp;gt; (default)&lt;br /&gt;
;&amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt;: overrides the default outer container width&lt;br /&gt;
&lt;br /&gt;
The column-specific style attributes are included after (and thus override) the generic ones, which are included after the default styles and the border thickness specified by the &amp;lt;code&amp;gt;border&amp;lt;/code&amp;gt; parameter(s).&lt;br /&gt;
&lt;br /&gt;
== Blank template ==&lt;br /&gt;
&lt;br /&gt;
Blank template for five generations:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot; style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{ahnentafel&lt;br /&gt;
|collapsible=yes&lt;br /&gt;
|collapsed=yes&lt;br /&gt;
|align=center&lt;br /&gt;
|ref=&lt;br /&gt;
|boxstyle_1=background-color: #bfc;&lt;br /&gt;
|boxstyle_2=background-color: #9fe;&lt;br /&gt;
|boxstyle_3=background-color: #ffc;&lt;br /&gt;
|boxstyle_4=background-color: #fcc;&lt;br /&gt;
|boxstyle_5=background-color: #fb9;&lt;br /&gt;
|1=1.&lt;br /&gt;
|2=2.&lt;br /&gt;
|3=3.&lt;br /&gt;
|4=4.&lt;br /&gt;
|5=5.&lt;br /&gt;
|6=6.&lt;br /&gt;
|7=7.&lt;br /&gt;
|8=8.&lt;br /&gt;
|9=9.&lt;br /&gt;
|10=10.&lt;br /&gt;
|11=11.&lt;br /&gt;
|12=12.&lt;br /&gt;
|13=13.&lt;br /&gt;
|14=14.&lt;br /&gt;
|15=15.&lt;br /&gt;
|16=16.&lt;br /&gt;
|17=17.&lt;br /&gt;
|18=18.&lt;br /&gt;
|19=19.&lt;br /&gt;
|20=20.&lt;br /&gt;
|21=21.&lt;br /&gt;
|22=22.&lt;br /&gt;
|23=23.&lt;br /&gt;
|24=24.&lt;br /&gt;
|25=25.&lt;br /&gt;
|26=26.&lt;br /&gt;
|27=27.&lt;br /&gt;
|28=28.&lt;br /&gt;
|29=29.&lt;br /&gt;
|30=30.&lt;br /&gt;
|31=31.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{ahnentafel&lt;br /&gt;
|collapsible=yes&lt;br /&gt;
|collapsed=yes&lt;br /&gt;
|align=center&lt;br /&gt;
|ref=&lt;br /&gt;
|boxstyle_1=background-color: #bfc;&lt;br /&gt;
|boxstyle_2=background-color: #9fe;&lt;br /&gt;
|boxstyle_3=background-color: #ffc;&lt;br /&gt;
|boxstyle_4=background-color: #fcc;&lt;br /&gt;
|boxstyle_5=background-color: #fb9;&lt;br /&gt;
|1=1.&lt;br /&gt;
|2=2.&lt;br /&gt;
|3=3.&lt;br /&gt;
|4=4.&lt;br /&gt;
|5=5.&lt;br /&gt;
|6=6.&lt;br /&gt;
|7=7.&lt;br /&gt;
|8=8.&lt;br /&gt;
|9=9.&lt;br /&gt;
|10=10.&lt;br /&gt;
|11=11.&lt;br /&gt;
|12=12.&lt;br /&gt;
|13=13.&lt;br /&gt;
|14=14.&lt;br /&gt;
|15=15.&lt;br /&gt;
|16=16.&lt;br /&gt;
|17=17.&lt;br /&gt;
|18=18.&lt;br /&gt;
|19=19.&lt;br /&gt;
|20=20.&lt;br /&gt;
|21=21.&lt;br /&gt;
|22=22.&lt;br /&gt;
|23=23.&lt;br /&gt;
|24=24.&lt;br /&gt;
|25=25.&lt;br /&gt;
|26=26.&lt;br /&gt;
|27=27.&lt;br /&gt;
|28=28.&lt;br /&gt;
|29=29.&lt;br /&gt;
|30=30.&lt;br /&gt;
|31=31.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* {{clc|Pages using ahnentafel with style}}&lt;br /&gt;
* {{clc|Pages using ahnentafel with boxstyle}}&lt;br /&gt;
* {{clc|Pages using ahnentafel with border}}&lt;br /&gt;
* {{clc|Pages using ahnentafel with unknown parameters}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[[Wikipedia:Family trees]] — for alternatives&lt;br /&gt;
*{{tlx|ahnentafel-tree}} uses {{tlx|Tree list}} and will handle up to an ahnentafel of 511 places (9 generations), but will also display as little as one generation.&lt;br /&gt;
*{{tlx|chart}} – can be used to build a bottom up, top down or right to left ahnentafel chart see [[Wikipedia:Family trees#Chart template|Family trees § Chart template]]&lt;br /&gt;
&lt;br /&gt;
{{Graph, chart and plot templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Ahnentafel formatting templates]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;WOSlinker</name></author>
	</entry>
</feed>