Vorlage:Stammbaum: Unterschied zwischen den Versionen

Aus Battlestar Wiki
(Änderung 16474 von Enabran (Diskussion) rückgängig gemacht.)
KKeine Bearbeitungszusammenfassung
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 22: Zeile 22:
{{Stammbaum | | | MOM |y| DAD | | DAI | MOM=Mutti|DAD=Papa|DAI=Tante Wilma}}
{{Stammbaum | | | MOM |y| DAD | | DAI | MOM=Mutti|DAD=Papa|DAI=Tante Wilma}}
{{Stammbaum | |,|-|-|-|+|-|-|-|.| | | | }}
{{Stammbaum | |,|-|-|-|+|-|-|-|.| | | | }}
{{Stammbaum | JOE | | ME  | | SIS | | | JOE=Mein Bruder [[Tim]]|ME='''[[Ich]]!'''|SIS=Meine kleine Schwester}}
{{Stammbaum | JOE | | ME  | | SIS | | | JOE=Mein Bruder [[Tim]]|ME='''[[Benutzer:Enabran|Ich]]!'''|SIS=Meine kleine Schwester}}
{{Stammbaum/Ende}}
{{Stammbaum/Ende}}


=== Anpassungsmöglichkeiten ===
=== Musterverzeichnis ===


Die '''Boxen''' können willkürlichen Wiki-Code enthalten. Der Inhalt der Boxen wird mit den zusätzlich genannten Parametern spezifiziert, die zum Vorlagenaufruf hinzugefügt werden. Jede Box ist drei Spalten weit und hat normalerweise einen zwei Pixel breiten schwarzen Rand. Boxen können jeden beliebigen Namen haben, der ein gültiger Vorlagenparametername ist, obgleich einzelne Buchstaben und Namen vermieden werden sollten, um Konflikte mit Fließsymbolen zu verhindern.
{| style="float: left; margin-left: 1em;"
|+ Linie
|-
| <big><tt>,</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|,}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>.</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|.}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>`</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|`}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>'</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|'}}{{Stammbaum/Ende}} || &nbsp;
|-
| <big><tt>^</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|^}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>v</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|v}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>(</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|(}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>)</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|)}}{{Stammbaum/Ende}} || &nbsp;
|-
| <big><tt>-</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|-}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>!</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|!}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>+</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|+}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt> </tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum| }}{{Stammbaum/Ende}} || &nbsp;
|}
{| style="float: left; margin-left: 1em;"
|+ Gestrichelt
|-
| <big><tt>F</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|F}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>7</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|7}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>L</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|L}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>J</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|J}}{{Stammbaum/Ende}} || &nbsp;
|-
| <big><tt>A</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|A}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>V</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|V}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>C</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|C}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>D</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|D}}{{Stammbaum/Ende}} || &nbsp;
|-
| <big><tt>~</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|~}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>:</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|:}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>%</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|%}}{{Stammbaum/Ende}} || &nbsp;
|}
{| style="float: left; margin-left: 1em;"
|+ Mischung
|-
| <big><tt>é</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|é}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>è</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|è}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt><nowiki><</nowiki></tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|<}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt><nowiki>></nowiki></tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|>}}{{Stammbaum/Ende}} || &nbsp;
|-
| <big><tt>*</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|*}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>#</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|#}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>y</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|y}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>Y</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|Y}}{{Stammbaum/Ende}} || &nbsp;
|-
| <big><tt>{</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|{|}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>}</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|}|}}{{Stammbaum/Ende}} || &nbsp;
| <big><tt>Ä</tt></big> || style="border: 1px solid gray;" | {{Stammbaum/Start}}{{Stammbaum|Ä}}{{Stammbaum/Ende}} || &nbsp;
|}
<br style="clear:left;" />


Die gesamte Tabelle kann auch in einen <nowiki><div></nowiki>-Container mit Style-Parametern gesetzt werden um eine gewisse Übersicht zu wahren.


==== für den gesamten Stammbaum bzw. einzelne Zeilen ====
==Style attributes==
Das Aussehen der Boxen kann wahlweise durch den Parameter ''border'' und ''boxstyle'' gesteuert werden. Das vorangestellte ''border=0'' setzt die Breite des Boxrandes auf 0 Pixel, während das letztere verwendet werden kann, um willkürliche [[Cascading Style Sheets|CSS-Code]] direkt zu den boxstyle-Attributen hinzuzufügen. <nowiki>{{Stammbaum/Start}}</nowiki> akzeptiert aber auch ''style''-Parameter, die dann für die gesamte Tabelle gelten. Z.&nbsp;B. generiert der folgende Code
 
The appearance of the boxes may be controlled by the optional template parameters ''border'' and ''boxstyle''. The former sets the width of the box border in pixels, while the latter can be used to append arbitrary CSS declarations directly to the box style attributes. For example, the following code:


<pre><nowiki>
<pre><nowiki>
{{Stammbaum/Start|style=font-size:200%;line-height:100%;}}
{{Stammbaum/Start}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | | FOO=Box 1|BAR=Box 2}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | | }}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO | | BAR | | FOO=Box 3|BAR=Box 4}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{Stammbaum/Ende}}
{{Stammbaum/Ende}}
</nowiki></pre>
</nowiki></pre>


dieses Ergebnis:
produces a result like this:


{{Stammbaum/Start|style=font-size:200%;line-height:100%;}}
{{Stammbaum/Start}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | | FOO=Box 1|BAR=Box 2}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | | }}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO | | BAR | | FOO=Box 3|BAR=Box 4}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{Stammbaum/Ende}}
{{Stammbaum/Ende}}


==== für beliebige Boxen ====
Style attributes can even be set for individual boxes, as in the example below:
Einzelne Boxen können mit dem Parameter <code>boxstyle=Bezeichner</code> wie formatiert werden:
 
<pre><nowiki>
<pre><nowiki>
{{Stammbaum/Start}}
{{Stammbaum/Start}}
{{Stammbaum| | | | |WEISS| | | | |WEISS=Weiße Box}}
{{Stammbaum| | | | |WHITE| | | | |WHITE=White box}}
{{Stammbaum| |,|-|-|'|!|`|-|-|.| }}
{{Stammbaum| |,|-|-|'|!|`|-|-|.| }}
{{Stammbaum| ROT |~|GRÜN |~|BLAU |ROT=Rote Box|GRÜN=Grüne Box|BLAU=Blaue Box
{{Stammbaum|RED  |~|GREEN|~|BLUE |RED=Red box|GREEN=Green box|BLUE=Blue box
|boxstyle_ ROT =background-color: #faa;
|boxstyle_RED  =background-color: #faa;
|boxstyle_GRÜN =background-color: #afa;
|boxstyle_GREEN=background-color: #afa;
|boxstyle_BLAU =background-color: #aaf; }}
|boxstyle_BLUE =background-color: #aaf;
}}
{{Stammbaum/Ende}}
{{Stammbaum/Ende}}
</nowiki></pre>
</nowiki></pre>
Dabei ist zu beachten das führende Leerzeichen bei den Bezeichnern mit bei <code>boxstyle_<Bezeichner>=<CSS></code> angegeben werden müssen; siehe im Beispiel für den Bezeichner <code>ROT</code>.


Mit dem Ergebnis:
which produces the output:
 
{{Stammbaum/Start}}
{{Stammbaum/Start}}
{{Stammbaum| | | | |WEISS| | | | |WEISS=Weiße Box}}
{{Stammbaum| | | | |WHITE| | | | |WHITE=White box}}
{{Stammbaum| |,|-|-|'|!|`|-|-|.| }}
{{Stammbaum| |,|-|-|'|!|`|-|-|.| }}
{{Stammbaum| ROT |~|GRÜN |~|BLAU |ROT=Rote Box|GRÜN=Grüne Box|BLAU=Blaue Box
{{Stammbaum|RED  |~|GREEN|~|BLUE |RED=Red box|GREEN=Green box|BLUE=Blue box
|boxstyle_ ROT =background-color: #faa;
|boxstyle_RED  =background-color: #faa;
|boxstyle_GRÜN =background-color: #afa;
|boxstyle_GREEN=background-color: #afa;
|boxstyle_BLAU =background-color: #aaf;
|boxstyle_BLUE =background-color: #aaf;
}}
}}
{{Stammbaum/Ende}}
{{Stammbaum/Ende}}


'''NOTE:''' When specifying style attributes for individual named boxes, make sure the box names are aligned to the '''left''' side of area reserved for them in the template call (as in "<code>|RED&nbsp;&nbsp;|</code>" instead of "<code>|&nbsp;RED&nbsp;|</code>" in the example above).  Otherwise the template will end up looking for a style parameter with spaces in its name.
The {{tl|Stammbaum/Start}} template also accepts an optional ''style'' parameter that can be used to set CSS styles for the entire table.
[[Kategorie:Stammbaum Vorlage|{{PAGENAME}}]]
</noinclude><includeonly>{{Stammbaum/Schritt2
|boxstyle={{{boxstyle|}}}|border={{{border|2}}}|
|row1 ""=<td rowspan="2" colspan="2"></td>|
|row2 ""=|
|row1 " "=<td rowspan="2" colspan="2"><div style="width: 2em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 " "=|
|row1 "0"=<td rowspan="2" colspan="2"><div style="width: 2em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "0"=|
|row1 "-"=<td colspan="2" style="border-bottom: 1px solid white;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "-"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "!"=<td rowspan="2" style="border-right: 1px solid white;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "!"=|
|row1 "."=<td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "."=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|


|row1 "'"=<td style="border-right: 1px solid white; border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "'"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|


|row1 "`"=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "`"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|


|row1 ","=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 ","=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "v"=<td colspan="2" style="border-bottom: 1px solid white;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "v"=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "("=<td style="border-right: 1px solid white; border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "("=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "^"=<td style="border-right: 1px solid white; border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "^"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 ")"=<td rowspan="2" style="border-right: 1px solid white;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 ")"=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "+"=<td style="border-right: 1px solid white; border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "+"=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "~"=<td colspan="2" style="border-bottom: 1px dashed white;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "~"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 ":"=<td rowspan="2" style="border-right: 1px dashed white;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 ":"=|
|row1 "y"=<td colspan="2" style="border-bottom: 1px dashed white;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "y"=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "h"=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "h"=<td colspan="2" style="border-top: 1px dashed white;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "}"=<td rowspan="2" style="border-right: 1px dashed white;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "}"=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "{"=<td style="border-right: 1px dashed white; border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "{"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "7"=<td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "7"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "J"=<td style="border-right: 1px dashed white; border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "J"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "L"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "L"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "F"=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "F"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "V"=<td colspan="2" style="border-bottom: 1px dashed white;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "V"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "C"=<td style="border-right: 1px dashed white; border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "C"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "A"=<td style="border-right: 1px dashed white; border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "A"=<td colspan="2"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "D"=<td rowspan="2" style="border-right: 1px dashed white;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "D"=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "%"=<td style="border-right: 1px dashed white; border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "%"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "*"=<td style="border-right: 1px dashed white; border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "*"=<td style="border-right: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "#"=<td style="border-right: 1px solid white; border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "#"=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "]"=<td rowspan="2" style="border-right: 1px solid white;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "]"=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "["=<td style="border-right: 1px solid white; border-bottom: 1px dashed white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td rowspan="2"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "["=<td style="border-right: 1px solid white;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|key_1="{{{1|}}}"|tst_1_{{{1|a}}}{{{1|b}}}=undef|text_1={{{{{{1}}}}}}|boxstyle_1={{{boxstyle_{{{1}}}|}}}
|key_2="{{{2|}}}"|tst_2_{{{2|a}}}{{{2|b}}}=undef|text_2={{{{{{2}}}}}}|boxstyle_2={{{boxstyle_{{{2}}}|}}}
|key_3="{{{3|}}}"|tst_3_{{{3|a}}}{{{3|b}}}=undef|text_3={{{{{{3}}}}}}|boxstyle_3={{{boxstyle_{{{3}}}|}}}
|key_4="{{{4|}}}"|tst_4_{{{4|a}}}{{{4|b}}}=undef|text_4={{{{{{4}}}}}}|boxstyle_4={{{boxstyle_{{{4}}}|}}}
|key_5="{{{5|}}}"|tst_5_{{{5|a}}}{{{5|b}}}=undef|text_5={{{{{{5}}}}}}|boxstyle_5={{{boxstyle_{{{5}}}|}}}
|key_6="{{{6|}}}"|tst_6_{{{6|a}}}{{{6|b}}}=undef|text_6={{{{{{6}}}}}}|boxstyle_6={{{boxstyle_{{{6}}}|}}}
|key_7="{{{7|}}}"|tst_7_{{{7|a}}}{{{7|b}}}=undef|text_7={{{{{{7}}}}}}|boxstyle_7={{{boxstyle_{{{7}}}|}}}
|key_8="{{{8|}}}"|tst_8_{{{8|a}}}{{{8|b}}}=undef|text_8={{{{{{8}}}}}}|boxstyle_8={{{boxstyle_{{{8}}}|}}}
|key_9="{{{9|}}}"|tst_9_{{{9|a}}}{{{9|b}}}=undef|text_9={{{{{{9}}}}}}|boxstyle_9={{{boxstyle_{{{9}}}|}}}
|key_10="{{{10|}}}"|tst_10_{{{10|a}}}{{{10|b}}}=undef|text_10={{{{{{10}}}}}}|boxstyle_10={{{boxstyle_{{{10}}}|}}}
|key_11="{{{11|}}}"|tst_11_{{{11|a}}}{{{11|b}}}=undef|text_11={{{{{{11}}}}}}|boxstyle_11={{{boxstyle_{{{11}}}|}}}
|key_12="{{{12|}}}"|tst_12_{{{12|a}}}{{{12|b}}}=undef|text_12={{{{{{12}}}}}}|boxstyle_12={{{boxstyle_{{{12}}}|}}}
|key_13="{{{13|}}}"|tst_13_{{{13|a}}}{{{13|b}}}=undef|text_13={{{{{{13}}}}}}|boxstyle_13={{{boxstyle_{{{13}}}|}}}
|key_14="{{{14|}}}"|tst_14_{{{14|a}}}{{{14|b}}}=undef|text_14={{{{{{14}}}}}}|boxstyle_14={{{boxstyle_{{{14}}}|}}}
|key_15="{{{15|}}}"|tst_15_{{{15|a}}}{{{15|b}}}=undef|text_15={{{{{{15}}}}}}|boxstyle_15={{{boxstyle_{{{15}}}|}}}
|key_16="{{{16|}}}"|tst_16_{{{16|a}}}{{{16|b}}}=undef|text_16={{{{{{16}}}}}}|boxstyle_16={{{boxstyle_{{{16}}}|}}}
|key_17="{{{17|}}}"|tst_17_{{{17|a}}}{{{17|b}}}=undef|text_17={{{{{{17}}}}}}|boxstyle_17={{{boxstyle_{{{17}}}|}}}
|key_18="{{{18|}}}"|tst_18_{{{18|a}}}{{{18|b}}}=undef|text_18={{{{{{18}}}}}}|boxstyle_18={{{boxstyle_{{{18}}}|}}}
|key_19="{{{19|}}}"|tst_19_{{{19|a}}}{{{19|b}}}=undef|text_19={{{{{{19}}}}}}|boxstyle_19={{{boxstyle_{{{19}}}|}}}
|key_20="{{{20|}}}"|tst_20_{{{20|a}}}{{{20|b}}}=undef|text_20={{{{{{20}}}}}}|boxstyle_20={{{boxstyle_{{{20}}}|}}}
|key_21="{{{21|}}}"|tst_21_{{{21|a}}}{{{21|b}}}=undef|text_21={{{{{{21}}}}}}|boxstyle_21={{{boxstyle_{{{21}}}|}}}
|key_22="{{{22|}}}"|tst_22_{{{22|a}}}{{{22|b}}}=undef|text_22={{{{{{22}}}}}}|boxstyle_22={{{boxstyle_{{{22}}}|}}}
|key_23="{{{23|}}}"|tst_23_{{{23|a}}}{{{23|b}}}=undef|text_23={{{{{{23}}}}}}|boxstyle_23={{{boxstyle_{{{23}}}|}}}
|key_24="{{{24|}}}"|tst_24_{{{24|a}}}{{{24|b}}}=undef|text_24={{{{{{24}}}}}}|boxstyle_24={{{boxstyle_{{{24}}}|}}}
|key_25="{{{25|}}}"|tst_25_{{{25|a}}}{{{25|b}}}=undef|text_25={{{{{{25}}}}}}|boxstyle_25={{{boxstyle_{{{25}}}|}}}
|key_26="{{{26|}}}"|tst_26_{{{26|a}}}{{{26|b}}}=undef|text_26={{{{{{26}}}}}}|boxstyle_26={{{boxstyle_{{{26}}}|}}}
|key_27="{{{27|}}}"|tst_27_{{{27|a}}}{{{27|b}}}=undef|text_27={{{{{{27}}}}}}|boxstyle_27={{{boxstyle_{{{27}}}|}}}
|key_28="{{{28|}}}"|tst_28_{{{28|a}}}{{{28|b}}}=undef|text_28={{{{{{28}}}}}}|boxstyle_28={{{boxstyle_{{{28}}}|}}}
|key_29="{{{29|}}}"|tst_29_{{{29|a}}}{{{29|b}}}=undef|text_29={{{{{{29}}}}}}|boxstyle_29={{{boxstyle_{{{29}}}|}}}
|key_30="{{{30|}}}"|tst_30_{{{30|a}}}{{{30|b}}}=undef|text_30={{{{{{30}}}}}}|boxstyle_30={{{boxstyle_{{{30}}}|}}}
|key_31="{{{31|}}}"|tst_31_{{{31|a}}}{{{31|b}}}=undef|text_31={{{{{{31}}}}}}|boxstyle_31={{{boxstyle_{{{31}}}|}}}
|key_32="{{{32|}}}"|tst_32_{{{32|a}}}{{{32|b}}}=undef|text_32={{{{{{32}}}}}}|boxstyle_32={{{boxstyle_{{{32}}}|}}}
|key_33="{{{33|}}}"|tst_33_{{{33|a}}}{{{33|b}}}=undef|text_33={{{{{{33}}}}}}|boxstyle_33={{{boxstyle_{{{33}}}|}}}
|key_34="{{{34|}}}"|tst_34_{{{34|a}}}{{{34|b}}}=undef|text_34={{{{{{34}}}}}}|boxstyle_34={{{boxstyle_{{{34}}}|}}}
|key_35="{{{35|}}}"|tst_35_{{{35|a}}}{{{35|b}}}=undef|text_35={{{{{{35}}}}}}|boxstyle_35={{{boxstyle_{{{35}}}|}}}
|key_36="{{{36|}}}"|tst_36_{{{36|a}}}{{{36|b}}}=undef|text_36={{{{{{36}}}}}}|boxstyle_36={{{boxstyle_{{{36}}}|}}}
|key_37="{{{37|}}}"|tst_37_{{{37|a}}}{{{37|b}}}=undef|text_37={{{{{{37}}}}}}|boxstyle_37={{{boxstyle_{{{37}}}|}}}
|key_38="{{{38|}}}"|tst_38_{{{38|a}}}{{{38|b}}}=undef|text_38={{{{{{38}}}}}}|boxstyle_38={{{boxstyle_{{{38}}}|}}}
|key_39="{{{39|}}}"|tst_39_{{{39|a}}}{{{39|b}}}=undef|text_39={{{{{{39}}}}}}|boxstyle_39={{{boxstyle_{{{39}}}|}}}
|key_40="{{{40|}}}"|tst_40_{{{40|a}}}{{{40|b}}}=undef|text_40={{{{{{40}}}}}}|boxstyle_40={{{boxstyle_{{{40}}}|}}}
|key_41="{{{41|}}}"|tst_41_{{{41|a}}}{{{41|b}}}=undef|text_41={{{{{{41}}}}}}|boxstyle_41={{{boxstyle_{{{41}}}|}}}
|key_42="{{{42|}}}"|tst_42_{{{42|a}}}{{{42|b}}}=undef|text_42={{{{{{42}}}}}}|boxstyle_42={{{boxstyle_{{{42}}}|}}}
|key_43="{{{43|}}}"|tst_43_{{{43|a}}}{{{43|b}}}=undef|text_43={{{{{{43}}}}}}|boxstyle_43={{{boxstyle_{{{43}}}|}}}
|key_44="{{{44|}}}"|tst_44_{{{44|a}}}{{{44|b}}}=undef|text_44={{{{{{44}}}}}}|boxstyle_44={{{boxstyle_{{{44}}}|}}}
|key_45="{{{45|}}}"|tst_45_{{{45|a}}}{{{45|b}}}=undef|text_45={{{{{{45}}}}}}|boxstyle_45={{{boxstyle_{{{45}}}|}}}
|key_46="{{{46|}}}"|tst_46_{{{46|a}}}{{{46|b}}}=undef|text_46={{{{{{46}}}}}}|boxstyle_46={{{boxstyle_{{{46}}}|}}}
|key_47="{{{47|}}}"|tst_47_{{{47|a}}}{{{47|b}}}=undef|text_47={{{{{{47}}}}}}|boxstyle_47={{{boxstyle_{{{47}}}|}}}
|key_48="{{{48|}}}"|tst_48_{{{48|a}}}{{{48|b}}}=undef|text_48={{{{{{48}}}}}}|boxstyle_48={{{boxstyle_{{{48}}}|}}}
|key_49="{{{49|}}}"|tst_49_{{{49|a}}}{{{49|b}}}=undef|text_49={{{{{{49}}}}}}|boxstyle_49={{{boxstyle_{{{49}}}|}}}
|key_50="{{{50|}}}"|tst_50_{{{50|a}}}{{{50|b}}}=undef|text_50={{{{{{50}}}}}}|boxstyle_50={{{boxstyle_{{{50}}}|}}}
|key_51="{{{51|}}}"|tst_51_{{{51|a}}}{{{51|b}}}=undef|text_51={{{{{{51}}}}}}|boxstyle_51={{{boxstyle_{{{51}}}|}}}
|key_52="{{{52|}}}"|tst_52_{{{52|a}}}{{{52|b}}}=undef|text_52={{{{{{52}}}}}}|boxstyle_52={{{boxstyle_{{{52}}}|}}}
|key_53="{{{53|}}}"|tst_53_{{{53|a}}}{{{53|b}}}=undef|text_53={{{{{{53}}}}}}|boxstyle_53={{{boxstyle_{{{53}}}|}}}
|key_54="{{{54|}}}"|tst_54_{{{54|a}}}{{{54|b}}}=undef|text_54={{{{{{54}}}}}}|boxstyle_54={{{boxstyle_{{{54}}}|}}}
|key_55="{{{55|}}}"|tst_55_{{{55|a}}}{{{55|b}}}=undef|text_55={{{{{{55}}}}}}|boxstyle_55={{{boxstyle_{{{55}}}|}}}
|key_56="{{{56|}}}"|tst_56_{{{56|a}}}{{{56|b}}}=undef|text_56={{{{{{56}}}}}}|boxstyle_56={{{boxstyle_{{{56}}}|}}}
|key_57="{{{57|}}}"|tst_57_{{{57|a}}}{{{57|b}}}=undef|text_57={{{{{{57}}}}}}|boxstyle_57={{{boxstyle_{{{57}}}|}}}
|key_58="{{{58|}}}"|tst_58_{{{58|a}}}{{{58|b}}}=undef|text_58={{{{{{58}}}}}}|boxstyle_58={{{boxstyle_{{{58}}}|}}}
|key_59="{{{59|}}}"|tst_59_{{{59|a}}}{{{59|b}}}=undef|text_59={{{{{{59}}}}}}|boxstyle_59={{{boxstyle_{{{59}}}|}}}
|key_60="{{{60|}}}"|tst_60_{{{60|a}}}{{{60|b}}}=undef|text_60={{{{{{60}}}}}}|boxstyle_60={{{boxstyle_{{{60}}}|}}}
|key_61="{{{61|}}}"|tst_61_{{{61|a}}}{{{61|b}}}=undef|text_61={{{{{{61}}}}}}|boxstyle_61={{{boxstyle_{{{61}}}|}}}
|key_62="{{{62|}}}"|tst_62_{{{62|a}}}{{{62|b}}}=undef|text_62={{{{{{62}}}}}}|boxstyle_62={{{boxstyle_{{{62}}}|}}}
|key_63="{{{63|}}}"|tst_63_{{{63|a}}}{{{63|b}}}=undef|text_63={{{{{{63}}}}}}|boxstyle_63={{{boxstyle_{{{63}}}|}}}
|key_64="{{{64|}}}"|tst_64_{{{64|a}}}{{{64|b}}}=undef|text_64={{{{{{64}}}}}}|boxstyle_64={{{boxstyle_{{{64}}}|}}}
|key_65="{{{65|}}}"|tst_65_{{{65|a}}}{{{65|b}}}=undef|text_65={{{{{{65}}}}}}|boxstyle_65={{{boxstyle_{{{65}}}|}}}
|key_66="{{{66|}}}"|tst_66_{{{66|a}}}{{{66|b}}}=undef|text_66={{{{{{66}}}}}}|boxstyle_66={{{boxstyle_{{{66}}}|}}}
|key_67="{{{67|}}}"|tst_67_{{{67|a}}}{{{67|b}}}=undef|text_67={{{{{{67}}}}}}|boxstyle_67={{{boxstyle_{{{67}}}|}}}
|key_68="{{{68|}}}"|tst_68_{{{68|a}}}{{{68|b}}}=undef|text_68={{{{{{68}}}}}}|boxstyle_68={{{boxstyle_{{{68}}}|}}}
|key_69="{{{69|}}}"|tst_69_{{{69|a}}}{{{69|b}}}=undef|text_69={{{{{{69}}}}}}|boxstyle_69={{{boxstyle_{{{69}}}|}}}
|key_70="{{{70|}}}"|tst_70_{{{70|a}}}{{{70|b}}}=undef|text_70={{{{{{70}}}}}}|boxstyle_70={{{boxstyle_{{{70}}}|}}}
|key_71="{{{71|}}}"|tst_71_{{{71|a}}}{{{71|b}}}=undef|text_71={{{{{{71}}}}}}|boxstyle_71={{{boxstyle_{{{71}}}|}}}
|key_72="{{{72|}}}"|tst_72_{{{72|a}}}{{{72|b}}}=undef|text_72={{{{{{72}}}}}}|boxstyle_72={{{boxstyle_{{{72}}}|}}}
|key_73="{{{73|}}}"|tst_73_{{{73|a}}}{{{73|b}}}=undef|text_73={{{{{{73}}}}}}|boxstyle_73={{{boxstyle_{{{73}}}|}}}
|key_74="{{{74|}}}"|tst_74_{{{74|a}}}{{{74|b}}}=undef|text_74={{{{{{74}}}}}}|boxstyle_74={{{boxstyle_{{{74}}}|}}}
|key_75="{{{75|}}}"|tst_75_{{{75|a}}}{{{75|b}}}=undef|text_75={{{{{{75}}}}}}|boxstyle_75={{{boxstyle_{{{75}}}|}}}
|key_76="{{{76|}}}"|tst_76_{{{76|a}}}{{{76|b}}}=undef|text_76={{{{{{76}}}}}}|boxstyle_76={{{boxstyle_{{{76}}}|}}}
|key_77="{{{77|}}}"|tst_77_{{{77|a}}}{{{77|b}}}=undef|text_77={{{{{{77}}}}}}|boxstyle_77={{{boxstyle_{{{77}}}|}}}
|key_78="{{{78|}}}"|tst_78_{{{78|a}}}{{{78|b}}}=undef|text_78={{{{{{78}}}}}}|boxstyle_78={{{boxstyle_{{{78}}}|}}}
|key_79="{{{79|}}}"|tst_79_{{{79|a}}}{{{79|b}}}=undef|text_79={{{{{{79}}}}}}|boxstyle_79={{{boxstyle_{{{79}}}|}}}
|key_80="{{{80|}}}"|tst_80_{{{80|a}}}{{{80|b}}}=undef|text_80={{{{{{80}}}}}}|boxstyle_80={{{boxstyle_{{{80}}}|}}}
|undef=}}</includeonly>
<noinclude>
[[Kategorie:Battlestar Wiki Vorlagen]]
[[Kategorie:Stammbaum Vorlage]]
[[Kategorie:Stammbaum Vorlage]]
[[en:Template:Familytree]]
[[en:Template:Familytree]]
</noinclude>

Aktuelle Version vom 25. April 2011, 12:20 Uhr

This template comes from Wikipedia

This is a template for rendering simple Stammbaums consisting of boxes and connecting lines based on an ASCII art-like syntax. The trees are displayed as HTML tables using CSS attributes, and may contain arbitrary wiki markup within the boxes.

Beispiel

Dieser Code:

{{Stammbaum/Start}}
{{Stammbaum | | | | GRM |~|y|~| GRP | | GRM=Großmutter|GRP=Großvater}}
{{Stammbaum | | | | | | | |)|-|-|-|.| | }}
{{Stammbaum | | | MOM |y| DAD | | DAI | MOM=Mutti|DAD=Papa|DAI=Tante Wilma}}
{{Stammbaum | |,|-|-|-|+|-|-|-|.| | | | }}
{{Stammbaum | JOE | | ME  | | SIS | | | JOE=Mein Bruder [[Tim]]|ME='''[[Ich]]!'''|SIS=Meine kleine Schwester}}
{{Stammbaum/Ende}}

erzeugt diese Ausgabe:






 
 
 
Großmutter
 
 
 
Großvater
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mutti
 
Papa
 
Tante Wilma
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mein Bruder Tim
 
Ich!
 
Meine kleine Schwester
 
 


Musterverzeichnis

Linie
,
 
 
 
 
  .
 
 
 
  `
 
 
 
  '
 
 
 
 
^
 
 
 
  v
 
 
 
  (
 
 
 
  )
 
 
 
 
-
 
 
  !
 
 
  +
 
 
 
 
 
 
 
Gestrichelt
F
 
 
 
 
  7
 
 
 
  L
 
 
 
  J
 
 
 
 
A
 
 
 
  V
 
 
 
  C
 
 
 
  D
 
 
 
 
~
 
 
  :
 
 
  %
 
 
 
 
 
Mischung
é
{{{é}}}
  è
{{{è}}}
  <
{{{<}}}
  >
{{{>}}}
 
*
 
 
 
 
  #
 
 
 
 
  y
 
 
 
  Y
{{{Y}}}
 
{
 
 
 
  }
 
 
 
  Ä
{{{Ä}}}
 



Style attributes

The appearance of the boxes may be controlled by the optional template parameters border and boxstyle. The former sets the width of the box border in pixels, while the latter can be used to append arbitrary CSS declarations directly to the box style attributes. For example, the following code:

{{Stammbaum/Start}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{Stammbaum|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{Stammbaum/Ende}}

produces a result like this:




 
Box 1
 
Box 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Box 3
 
Box 4
 


Style attributes can even be set for individual boxes, as in the example below:

{{Stammbaum/Start}}
{{Stammbaum| | | | |WHITE| | | | |WHITE=White box}}
{{Stammbaum| |,|-|-|'|!|`|-|-|.| }}
{{Stammbaum|RED  |~|GREEN|~|BLUE |RED=Red box|GREEN=Green box|BLUE=Blue box
|boxstyle_RED  =background-color: #faa;
|boxstyle_GREEN=background-color: #afa;
|boxstyle_BLUE =background-color: #aaf;
}}
{{Stammbaum/Ende}}

which produces the output:




 
 
 
 
White box
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Red box
 
Green box
 
Blue box
 
 


NOTE: When specifying style attributes for individual named boxes, make sure the box names are aligned to the left side of area reserved for them in the template call (as in "|RED  |" instead of "| RED |" in the example above). Otherwise the template will end up looking for a style parameter with spaces in its name.

The {{Stammbaum/Start}} template also accepts an optional style parameter that can be used to set CSS styles for the entire table.