Template:AhnentafelEdit This Page
From FamilySearch Wiki
(Difference between revisions)
(use {{notice}}) |
(set outside border="0") |
||
| Line 1: | Line 1: | ||
{{namespace detect | {{namespace detect | ||
| − | | user = <table border=" | + | | user = <table border="0" cellspacing="0" cellpadding="2" class="collapsible {{{state|collapsed}}}" width="100%" style="{{prettytable}}"> |
<tr><th>{{{title|Pedigree Chart}}}</th></tr><tr><td><table cellspacing="0" cellpadding="0" border="0" style="{{{style|}}}"> | <tr><th>{{{title|Pedigree Chart}}}</th></tr><tr><td><table cellspacing="0" cellpadding="0" border="0" style="{{{style|}}}"> | ||
<tr align="center"><td rowspan="62" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="62"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="62"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{2|}}}|30|62}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{2|}}}|30|62}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{2|}}}|30|62}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td></tr> | <tr align="center"><td rowspan="62" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="62"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="62"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{2|}}}|30|62}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{2|}}}|30|62}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{2|}}}|30|62}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}" style=""><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td><td rowspan="{{#if:{{{16|}}}|2|{{#if:{{{8|}}}|6|{{#if:{{{4|}}}|14|{{#if:{{{2|}}}|30|62}}}}}}}}"><div style="width: 0.5em; height: 0.5em;"><span style="font: 1px/1px serif;"> </span></div></td></tr> | ||
Latest revision as of 21:55, 31 January 2013
|
|
NOTICE: This template has been developed to be used within the User namespace only |
[edit]
Template documentation
This template takes genealogical data in the form of an ahnentafel and presents it as a graphical ancestry tree (realized as a collapsible HTML table). The template can be called using {{ahnentafel}} or {{pedigree chart}}.
The entries in the ahnentafel are given as numbered parameters to the template (1 up to 31), and may contain arbitrary wikimarkup. In addition, the template accepts the following named parameters:
- title
- Title of the table. (default: Pedigree Chart).
- state
- Set the state of the collapsible table collapsed or uncollapsed. (default: collapsed}.
- 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.
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).
Example
| You type (in the User namespace) | You get | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Ahnentafel
| state = uncollapsed
| 1 = Individual
| 2 = Father
| 3 = Mother
| 4 = Father's father
| 5 = Father's mother
| 6 = Mother's father
| 7 = Mother's mother
}}
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- This page was last modified on 31 January 2013, at 21:55.
- This page has been accessed 723 times.
New to the Research Wiki?
In the FamilySearch Research Wiki, you can learn how to do genealogical research or share your knowledge with others.
Learn More