Jump to content

Fyrimynd:Ahnentafel5

Frá Wikipedia, hin frælsa alfrøðin
 
 
 
 
 
{{{16}}}
 
 
{{{8}}}
 
 
 
 
 
 
{{{17}}}
 
 
{{{4}}}
 
 
 
 
 
 
{{{18}}}
 
 
{{{9}}}
 
 
 
 
 
 
{{{19}}}
 
 
{{{2}}}
 
 
 
 
 
 
{{{20}}}
 
 
{{{10}}}
 
 
 
 
 
 
{{{21}}}
 
 
{{{5}}}
 
 
 
 
 
 
{{{22}}}
 
 
{{{11}}}
 
 
 
 
 
 
{{{23}}}
 
Ahnentafel5
 
 
 
 
 
{{{24}}}
 
 
{{{12}}}
 
 
 
 
 
 
{{{25}}}
 
 
{{{6}}}
 
 
 
 
 
 
{{{26}}}
 
 
{{{13}}}
 
 
 
 
 
 
{{{27}}}
 
 
{{{3}}}
 
 
 
 
 
 
{{{28}}}
 
 
{{{14}}}
 
 
 
 
 
 
{{{29}}}
 
 
{{{7}}}
 
 
 
 
 
 
{{{30}}}
 
 
{{{15}}}
 
 
 
 
 
 
{{{31}}}
 
Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

The Ahnentafel template is a family tree template.

This template takes genealogical data in the form of an ahnentafel and presents it as a graphical 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.

Blank template

[rætta wikitekst]

Blank template for {{ahnentafel-compact5}}, which includes five generations:

{{ahnentafel top|width=100%}}
{{ahnentafel-compact5
|style=font-size: 90%; line-height: 110%;
|align=center
|border=1
|boxstyle=padding-top: 0; padding-bottom: 0;
|boxstyle_1=background-color: #fcc;
|boxstyle_2=background-color: #fb9;
|boxstyle_3=background-color: #ffc;
|boxstyle_4=background-color: #bfc;
|boxstyle_5=background-color: #9fe;
|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.
}}
{{ahnentafel bottom}}

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

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).

Two generations: {{ahnentafel2}} {{ahnentafel-compact2}}
Three generations: {{ahnentafel3}} {{ahnentafel-compact3}}
Four generations: {{ahnentafel4}} {{ahnentafel-compact4}}
Five generations: {{ahnentafel5}} {{ahnentafel-compact5}} {{ahnentafel-short5}}
Six generations: {{ahnentafel6}} {{ahnentafel-compact6}}
{{ahnentafel top}} {{ahnentafel bottom}}
{{familytree}}
{{chart}}