Template:Family tree

If this is not enough template in width, alternatively the template { { pedigree (complex) } } can be used.

Pedigree transmission

Example: From the following ASCII pedigree

Helios --- Klymene                 |    -----------------------------    | | | | Aigle Phaetusa Lampetia Phaeton shall

Example

This code:

{ { Pedigree / Start} } { { Pedigree | | | | OMA | ~ | y | ~ | OPA | | OMA = grandmother | grandfather OPA = }} { { Pedigree | | | | | | | | ) | - | - | - | | | }. } { { Pedigree | | | MUTTI | y | PAPA | | WILMA | MUTTI = Mutti | PAPA = Papa | WILMA = Aunt Wilma }} { { Pedigree | |, | - | - | - | | - | - | -. | | | | | }} { { Family Tree | TIM | | I | | BLACK | | | TIM = My brother [ [ Tim ] ] | I ='' ' [ [ I ] ] !'' ' | My little sister, BLK = }} { { Pedigree / end }} produces this output:

Patterns directory

Adaptation options

The entire table can also be set in a div container with style parameters in order to preserve a certain overview.

For the entire family tree or individual lines

The appearance of the boxes can be optionally border and BoxStyle are controlled by the parameter. The preceding border = 0 sets the width of Boxrandes to 0 pixels, while the latter can be used to add arbitrary CSS code directly to the BoxStyle attributes. But { { pedigree / start }} also accepts style parameter, which then apply to the entire table. For example generates the following code:

{ { Pedigree / Start | style = font-size: 200%; line-height: 100%; }} { { Family Tree | border = 0 | BoxStyle = background: # dfd; | | FOO | y | BAR | | FOO = Box 1 | Box BAR = 2} } { { Family Tree | border = 0 | BoxStyle = background: # dfd; | | |, | - | ^ | - | | | | }. } { { Family Tree | border = 0 | BoxStyle = background: # dfd; | | FOO | | BAR | | FOO = Box 3 | Box BAR = 4} } { { Pedigree / end }} this result:

For any boxes

Individual boxes can be formatted with the parameters BoxStyle = identifier:

{ { Pedigree / Start} } { { Pedigree | | | | | WHITE | | | | | WHITE = White box }} { { Pedigree | |, | - | - | ' | | ' | - |! - | | }. } { { Family Tree | RED | ~ | GREEN | ~ | BLUE | RED = Red Box | GREEN = Green Box | BLUE = Blue Box | boxstyle_ RED = background-color: # faa; | boxstyle_GRÜN = background-color: # afa; | boxstyle_BLAU = background-color: # aaf; }} { { Pedigree / end }} Here, the leading space of identifiers with boxstyle_ Note = must be specified; see the example for the identifier RED.

With the result:

Guidelines

The abbreviations of names can be any number of characters long. However, the clarity suffers when using abbreviations that are longer than 3. It must be between two names at least a | be ( vertical bar ), the two look better and also leave room for lines in between. Even before the beginning of the statement must be a | are.

{ { Pedigree | |, | -. | | | | }} { { Pedigree | | G R | | G = Grandma | Grandpa R = }} { { {G R} }} { { Pedigree | | |, | - | -. | | }} { { Pedigree | | Go | Go Rop = Grandma | Grandpa Rop = }} { { }}} { Go { { Pedigree | | |, | - | -. | | | }} { { Pedigree | | Go | Rop | Go = Grandma | Grandpa Rop = }} grandma grandpa { { Pedigree | | |, | - | v | - | | | }. } { { Pedigree | | grm! | | Grv | grm = Grandma | Grandpa Grv = }} grandma grandpa Note: It is no problem to distribute abbreviations for a better overview over several lines, but it must be located at least one shortcut on the current line.

{ { Pedigree | | |, | - | v | - | | | }. } { { Pedigree | | grm! | | Grv | | grm = Granny | Grv = Opa }} grandma grandpa { { Pedigree | | |, | - | v | - | | | }. } { { Pedigree | | grm! | | Grv | | Grm = Granny | Grv = Opa }} grandma grandpa { { {}}} Also, one should note a few conventions in pedigrees of people:

{ { Pedigree | | grm | | Grv | grm = Grandma | Grandpa Grv = }} { { Pedigree | | | L | ~ | y | ~ | J | | }} { { Pedigree | | | | pap | | | Papa Pap = }} grandma grandpa dad { { Pedigree | | | |. ! | |, | | | }} { { Family Tree | | | - | pap | - | | Papa Pap = }} { { Pedigree | | | | '|! | ` | | | }} dad helpful Tip

For processing it can be very helpful to embed the entire family tree in a table. Thus, the structures and distances are significantly better: heard before the first pedigree line:

Before transferring into the article namespace, these elements have to be removed again.

808794
de