• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Ahnentafel

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Ahnentafel
CSSThis template uses TemplateStyles:
  • Template:Ahnentafel/styles.css

Template:Ahnentafel 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.

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.

Contents

  • 1 Usage
  • 2 Blank template
  • 3 Tracking categories
  • 4 See also

Usage

{{ahnentafel
|collapsible=yes
|collapsed=yes
|ref=
|float=
|align=
|boxstyle_1=
|boxstyle_2=
|boxstyle_3=
|boxstyle_4=
|boxstyle_5=
|1=
|2=
...
}}

The template accepts the following named parameters:

style
CSS style attributes to be applied to the entire table.
boxstyle
CSS style attributes to be applied to the boxes containing the entries.
border
Thickness of the borders around the boxes in pixels (default: 2).
boxstyle_1, boxstyle_2, ...
CSS style attributes to be applied to the boxes in a given column.
border_1, border_2, ...
Thickness of the borders around the boxes in a given column.
align
Alignment of the chart: left, right, center
headnotes
Adds optional text above the chart (most useful in collapsible mode)
footnotes
Adds optional text below the chart (most useful in collapsible mode)

Options for the collapsible outer container (if enabled)

collapsible
set to yes to make the table collapsible
collapsed
set to no to expand by default, and yes to collapse by default
title
overrides the default container title when collapsible
ref
adds an optional reference to the end of the title; use normal "ref" mark-up for a single footnote covering the whole table
float
float the outer container: left, right, none, or center (default)
width
overrides the default outer container width

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 border parameter(s).

Blank template

Blank template for five generations:

{{ahnentafel
|collapsible=yes
|collapsed=yes
|align=center
|ref=
|boxstyle_1=background-color: #bfc;
|boxstyle_2=background-color: #9fe;
|boxstyle_3=background-color: #ffc;
|boxstyle_4=background-color: #fcc;
|boxstyle_5=background-color: #fb9;
|1=1.
|2=2.
|3=3.
|4=4.
|5=5.
|6=6.
|7=7.
|8=8.
|9=9.
|10=10.
|11=11.
|12=12.
|13=13.
|14=14.
|15=15.
|16=16.
|17=17.
|18=18.
|19=19.
|20=20.
|21=21.
|22=22.
|23=23.
|24=24.
|25=25.
|26=26.
|27=27.
|28=28.
|29=29.
|30=30.
|31=31.
}}
Ancestors of Ahnentafel
16.
8.
17.
4.
18.
9.
19.
2.
20.
10.
21.
5.
22.
11.
23.
1.
24.
12.
25.
6.
26.
13.
27.
3.
28.
14.
29.
7.
30.
15.
31.

Tracking categories

  • Category:Pages using ahnentafel with style (0)
  • Category:Pages using ahnentafel with boxstyle (0)
  • Category:Pages using ahnentafel with border (0)
  • Category:Pages using ahnentafel with unknown parameters (0)

See also

  • Wikipedia:Family trees — for alternatives
  • {{ahnentafel-tree}} uses {{Tree list}} and will handle up to an ahnentafel of 511 places (9 generations), but will also display as little as one generation.
  • {{chart}} – can be used to build a bottom up, top down or right to left ahnentafel chart see Family trees § Chart template
  • v
  • t
  • e
Graph, chart and plot templates
Many types
Template:Graph:Chart, Module:Chart
Graph Extension
Template:Graph:Chart, Template:Graph:Lines, Template:Graph:Stacked, Template:Graph:Street map with marks
Bar
Template:Bar chart, Template:Bar box
Line
Template:Graph:Lines
Scatter plot
Template:Dot chart
Pie chart
Template:Pie chart
Tree
  • Template:Tree chart
  • Template:Ahnentafel
Stacked
Template:Stacked bar
Cartogram
Template:Graph:Map, Template:Global Heat Maps by Year
Color legends
Template:Legend, Template:Legend-line, Template:BrewerColorLegends
The above documentation is transcluded from Template:Ahnentafel/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:Ahnentafel&oldid=23324"
Last edited on 2 January 2022, at 18:40
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Safer nicotine wiki
      • This page was last modified on 2 January 2022, at 18:40. Warning: Page may not contain recent updates.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Safer nicotine wiki
      • Disclaimers
      • Terms of Use
      • Desktop
      • Data access
      • Developers
      • Statistics
      • Cookie statement