Template:Familytree: Difference between revisions

From Tolkien Gateway
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<includeonly>{{familytree/step2
This is a template for rendering simple family trees 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.  See [[Template talk:Familytree|the talk page]] for documentation and example usage.
[[Category:Templates]][[Category:Familytree]]
<!-- DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING! -->
</noinclude><includeonly>{{familytree/step2


|boxstyle={{{boxstyle|}}}|border={{{border|2}}}|
|boxstyle={{{boxstyle|}}}|border={{{border|2}}}|
Line 32: Line 28:


|row1 ","=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid black;"><div style="width: 1em; 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 black;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 ","=<td style="border-right: 1px solid black;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 ","=<td style="border-right: 1px solid black;"><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 black;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "v"=<td colspan="2" style="border-bottom: 1px solid black;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
Line 57: Line 53:
|row1 "y"=<td colspan="2" style="border-bottom: 1px dashed black;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "y"=<td colspan="2" style="border-bottom: 1px dashed black;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "y"=<td style="border-right: 1px solid black;"><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 "y"=<td style="border-right: 1px solid black;"><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 black;"><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 black;"><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 black;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px solid black;"><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 black; border-bottom: 1px solid black;"><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 black;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|


|row1 "7"=<td style="border-bottom: 1px dashed black;"><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>|
|row1 "7"=<td style="border-bottom: 1px dashed black;"><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>|
Line 68: Line 73:


|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 black;"><div style="width: 1em; 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 black;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "F"=<td style="border-right: 1px dashed black;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div><td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row2 "F"=<td style="border-right: 1px dashed black;"><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 black;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|row1 "V"=<td colspan="2" style="border-bottom: 1px dashed black;"><div style="width: 2em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
Line 91: Line 96:
|row2 "#"=<td style="border-right: 1px solid black;"><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 style="border-right: 1px solid black;"><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>|


|key_1="{{{1|}}}"|tst_1_{{{1|a}}}{{{1|b}}}=undef|text_1={{{{{{1}}}}}}
|row1 "]"=<td rowspan="2" style="border-right: 1px solid black;"><div style="width: 1em; height: 2em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td><td style="border-bottom: 1px dashed black;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|key_2="{{{2|}}}"|tst_2_{{{2|a}}}{{{2|b}}}=undef|text_2={{{{{{2}}}}}}
|row2 "]"=<td><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|key_3="{{{3|}}}"|tst_3_{{{3|a}}}{{{3|b}}}=undef|text_3={{{{{{3}}}}}}
 
|key_4="{{{4|}}}"|tst_4_{{{4|a}}}{{{4|b}}}=undef|text_4={{{{{{4}}}}}}
|row1 "["=<td style="border-right: 1px solid black; border-bottom: 1px dashed black;"><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>|
|key_5="{{{5|}}}"|tst_5_{{{5|a}}}{{{5|b}}}=undef|text_5={{{{{{5}}}}}}
|row2 "["=<td style="border-right: 1px solid black;"><div style="width: 1em; height: 1em;"><span style="font: 1px/1px serif;">&nbsp;</span></div></td>|
|key_6="{{{6|}}}"|tst_6_{{{6|a}}}{{{6|b}}}=undef|text_6={{{{{{6}}}}}}
 
|key_7="{{{7|}}}"|tst_7_{{{7|a}}}{{{7|b}}}=undef|text_7={{{{{{7}}}}}}
|key_1="{{{1|}}}"|tst_1_{{{1|a}}}{{{1|b}}}=undef|text_1={{{{{{1}}}}}}|boxstyle_1={{{boxstyle_{{{1}}}|}}}
|key_8="{{{8|}}}"|tst_8_{{{8|a}}}{{{8|b}}}=undef|text_8={{{{{{8}}}}}}
|key_2="{{{2|}}}"|tst_2_{{{2|a}}}{{{2|b}}}=undef|text_2={{{{{{2}}}}}}|boxstyle_2={{{boxstyle_{{{2}}}|}}}
|key_9="{{{9|}}}"|tst_9_{{{9|a}}}{{{9|b}}}=undef|text_9={{{{{{9}}}}}}
|key_3="{{{3|}}}"|tst_3_{{{3|a}}}{{{3|b}}}=undef|text_3={{{{{{3}}}}}}|boxstyle_3={{{boxstyle_{{{3}}}|}}}
|key_10="{{{10|}}}"|tst_10_{{{10|a}}}{{{10|b}}}=undef|text_10={{{{{{10}}}}}}
|key_4="{{{4|}}}"|tst_4_{{{4|a}}}{{{4|b}}}=undef|text_4={{{{{{4}}}}}}|boxstyle_4={{{boxstyle_{{{4}}}|}}}
|key_11="{{{11|}}}"|tst_11_{{{11|a}}}{{{11|b}}}=undef|text_11={{{{{{11}}}}}}
|key_5="{{{5|}}}"|tst_5_{{{5|a}}}{{{5|b}}}=undef|text_5={{{{{{5}}}}}}|boxstyle_5={{{boxstyle_{{{5}}}|}}}
|key_12="{{{12|}}}"|tst_12_{{{12|a}}}{{{12|b}}}=undef|text_12={{{{{{12}}}}}}
|key_6="{{{6|}}}"|tst_6_{{{6|a}}}{{{6|b}}}=undef|text_6={{{{{{6}}}}}}|boxstyle_6={{{boxstyle_{{{6}}}|}}}
|key_13="{{{13|}}}"|tst_13_{{{13|a}}}{{{13|b}}}=undef|text_13={{{{{{13}}}}}}
|key_7="{{{7|}}}"|tst_7_{{{7|a}}}{{{7|b}}}=undef|text_7={{{{{{7}}}}}}|boxstyle_7={{{boxstyle_{{{7}}}|}}}
|key_14="{{{14|}}}"|tst_14_{{{14|a}}}{{{14|b}}}=undef|text_14={{{{{{14}}}}}}
|key_8="{{{8|}}}"|tst_8_{{{8|a}}}{{{8|b}}}=undef|text_8={{{{{{8}}}}}}|boxstyle_8={{{boxstyle_{{{8}}}|}}}
|key_15="{{{15|}}}"|tst_15_{{{15|a}}}{{{15|b}}}=undef|text_15={{{{{{15}}}}}}
|key_9="{{{9|}}}"|tst_9_{{{9|a}}}{{{9|b}}}=undef|text_9={{{{{{9}}}}}}|boxstyle_9={{{boxstyle_{{{9}}}|}}}
|key_16="{{{16|}}}"|tst_16_{{{16|a}}}{{{16|b}}}=undef|text_16={{{{{{16}}}}}}
|key_10="{{{10|}}}"|tst_10_{{{10|a}}}{{{10|b}}}=undef|text_10={{{{{{10}}}}}}|boxstyle_10={{{boxstyle_{{{10}}}|}}}
|key_17="{{{17|}}}"|tst_17_{{{17|a}}}{{{17|b}}}=undef|text_17={{{{{{17}}}}}}
|key_11="{{{11|}}}"|tst_11_{{{11|a}}}{{{11|b}}}=undef|text_11={{{{{{11}}}}}}|boxstyle_11={{{boxstyle_{{{11}}}|}}}
|key_18="{{{18|}}}"|tst_18_{{{18|a}}}{{{18|b}}}=undef|text_18={{{{{{18}}}}}}
|key_12="{{{12|}}}"|tst_12_{{{12|a}}}{{{12|b}}}=undef|text_12={{{{{{12}}}}}}|boxstyle_12={{{boxstyle_{{{12}}}|}}}
|key_19="{{{19|}}}"|tst_19_{{{19|a}}}{{{19|b}}}=undef|text_19={{{{{{19}}}}}}
|key_13="{{{13|}}}"|tst_13_{{{13|a}}}{{{13|b}}}=undef|text_13={{{{{{13}}}}}}|boxstyle_13={{{boxstyle_{{{13}}}|}}}
|key_20="{{{20|}}}"|tst_20_{{{20|a}}}{{{20|b}}}=undef|text_20={{{{{{20}}}}}}
|key_14="{{{14|}}}"|tst_14_{{{14|a}}}{{{14|b}}}=undef|text_14={{{{{{14}}}}}}|boxstyle_14={{{boxstyle_{{{14}}}|}}}
|key_21="{{{21|}}}"|tst_21_{{{21|a}}}{{{21|b}}}=undef|text_21={{{{{{21}}}}}}
|key_15="{{{15|}}}"|tst_15_{{{15|a}}}{{{15|b}}}=undef|text_15={{{{{{15}}}}}}|boxstyle_15={{{boxstyle_{{{15}}}|}}}
|key_22="{{{22|}}}"|tst_22_{{{22|a}}}{{{22|b}}}=undef|text_22={{{{{{22}}}}}}
|key_16="{{{16|}}}"|tst_16_{{{16|a}}}{{{16|b}}}=undef|text_16={{{{{{16}}}}}}|boxstyle_16={{{boxstyle_{{{16}}}|}}}
|key_23="{{{23|}}}"|tst_23_{{{23|a}}}{{{23|b}}}=undef|text_23={{{{{{23}}}}}}
|key_17="{{{17|}}}"|tst_17_{{{17|a}}}{{{17|b}}}=undef|text_17={{{{{{17}}}}}}|boxstyle_17={{{boxstyle_{{{17}}}|}}}
|key_24="{{{24|}}}"|tst_24_{{{24|a}}}{{{24|b}}}=undef|text_24={{{{{{24}}}}}}
|key_18="{{{18|}}}"|tst_18_{{{18|a}}}{{{18|b}}}=undef|text_18={{{{{{18}}}}}}|boxstyle_18={{{boxstyle_{{{18}}}|}}}
|key_25="{{{25|}}}"|tst_25_{{{25|a}}}{{{25|b}}}=undef|text_25={{{{{{25}}}}}}
|key_19="{{{19|}}}"|tst_19_{{{19|a}}}{{{19|b}}}=undef|text_19={{{{{{19}}}}}}|boxstyle_19={{{boxstyle_{{{19}}}|}}}
|key_26="{{{26|}}}"|tst_26_{{{26|a}}}{{{26|b}}}=undef|text_26={{{{{{26}}}}}}
|key_20="{{{20|}}}"|tst_20_{{{20|a}}}{{{20|b}}}=undef|text_20={{{{{{20}}}}}}|boxstyle_20={{{boxstyle_{{{20}}}|}}}
|key_27="{{{27|}}}"|tst_27_{{{27|a}}}{{{27|b}}}=undef|text_27={{{{{{27}}}}}}
|key_21="{{{21|}}}"|tst_21_{{{21|a}}}{{{21|b}}}=undef|text_21={{{{{{21}}}}}}|boxstyle_21={{{boxstyle_{{{21}}}|}}}
|key_28="{{{28|}}}"|tst_28_{{{28|a}}}{{{28|b}}}=undef|text_28={{{{{{28}}}}}}
|key_22="{{{22|}}}"|tst_22_{{{22|a}}}{{{22|b}}}=undef|text_22={{{{{{22}}}}}}|boxstyle_22={{{boxstyle_{{{22}}}|}}}
|key_29="{{{29|}}}"|tst_29_{{{29|a}}}{{{29|b}}}=undef|text_29={{{{{{29}}}}}}
|key_23="{{{23|}}}"|tst_23_{{{23|a}}}{{{23|b}}}=undef|text_23={{{{{{23}}}}}}|boxstyle_23={{{boxstyle_{{{23}}}|}}}
|key_30="{{{30|}}}"|tst_30_{{{30|a}}}{{{30|b}}}=undef|text_30={{{{{{30}}}}}}
|key_24="{{{24|}}}"|tst_24_{{{24|a}}}{{{24|b}}}=undef|text_24={{{{{{24}}}}}}|boxstyle_24={{{boxstyle_{{{24}}}|}}}
|key_31="{{{31|}}}"|tst_31_{{{31|a}}}{{{31|b}}}=undef|text_31={{{{{{31}}}}}}
|key_25="{{{25|}}}"|tst_25_{{{25|a}}}{{{25|b}}}=undef|text_25={{{{{{25}}}}}}|boxstyle_25={{{boxstyle_{{{25}}}|}}}
|key_32="{{{32|}}}"|tst_32_{{{32|a}}}{{{32|b}}}=undef|text_32={{{{{{32}}}}}}
|key_26="{{{26|}}}"|tst_26_{{{26|a}}}{{{26|b}}}=undef|text_26={{{{{{26}}}}}}|boxstyle_26={{{boxstyle_{{{26}}}|}}}
|key_33="{{{33|}}}"|tst_33_{{{33|a}}}{{{33|b}}}=undef|text_33={{{{{{33}}}}}}
|key_27="{{{27|}}}"|tst_27_{{{27|a}}}{{{27|b}}}=undef|text_27={{{{{{27}}}}}}|boxstyle_27={{{boxstyle_{{{27}}}|}}}
|key_34="{{{34|}}}"|tst_34_{{{34|a}}}{{{34|b}}}=undef|text_34={{{{{{34}}}}}}
|key_28="{{{28|}}}"|tst_28_{{{28|a}}}{{{28|b}}}=undef|text_28={{{{{{28}}}}}}|boxstyle_28={{{boxstyle_{{{28}}}|}}}
|key_35="{{{35|}}}"|tst_35_{{{35|a}}}{{{35|b}}}=undef|text_35={{{{{{35}}}}}}
|key_29="{{{29|}}}"|tst_29_{{{29|a}}}{{{29|b}}}=undef|text_29={{{{{{29}}}}}}|boxstyle_29={{{boxstyle_{{{29}}}|}}}
|key_36="{{{36|}}}"|tst_36_{{{36|a}}}{{{36|b}}}=undef|text_36={{{{{{36}}}}}}
|key_30="{{{30|}}}"|tst_30_{{{30|a}}}{{{30|b}}}=undef|text_30={{{{{{30}}}}}}|boxstyle_30={{{boxstyle_{{{30}}}|}}}
|key_37="{{{37|}}}"|tst_37_{{{37|a}}}{{{37|b}}}=undef|text_37={{{{{{37}}}}}}
|key_31="{{{31|}}}"|tst_31_{{{31|a}}}{{{31|b}}}=undef|text_31={{{{{{31}}}}}}|boxstyle_31={{{boxstyle_{{{31}}}|}}}
|key_38="{{{38|}}}"|tst_38_{{{38|a}}}{{{38|b}}}=undef|text_38={{{{{{38}}}}}}
|key_32="{{{32|}}}"|tst_32_{{{32|a}}}{{{32|b}}}=undef|text_32={{{{{{32}}}}}}|boxstyle_32={{{boxstyle_{{{32}}}|}}}
|key_39="{{{39|}}}"|tst_39_{{{39|a}}}{{{39|b}}}=undef|text_39={{{{{{39}}}}}}
|key_33="{{{33|}}}"|tst_33_{{{33|a}}}{{{33|b}}}=undef|text_33={{{{{{33}}}}}}|boxstyle_33={{{boxstyle_{{{33}}}|}}}
|key_40="{{{40|}}}"|tst_40_{{{40|a}}}{{{40|b}}}=undef|text_40={{{{{{40}}}}}}
|key_34="{{{34|}}}"|tst_34_{{{34|a}}}{{{34|b}}}=undef|text_34={{{{{{34}}}}}}|boxstyle_34={{{boxstyle_{{{34}}}|}}}
|key_41="{{{41|}}}"|tst_41_{{{41|a}}}{{{41|b}}}=undef|text_41={{{{{{41}}}}}}
|key_35="{{{35|}}}"|tst_35_{{{35|a}}}{{{35|b}}}=undef|text_35={{{{{{35}}}}}}|boxstyle_35={{{boxstyle_{{{35}}}|}}}
|key_42="{{{42|}}}"|tst_42_{{{42|a}}}{{{42|b}}}=undef|text_42={{{{{{42}}}}}}
|key_36="{{{36|}}}"|tst_36_{{{36|a}}}{{{36|b}}}=undef|text_36={{{{{{36}}}}}}|boxstyle_36={{{boxstyle_{{{36}}}|}}}
|key_43="{{{43|}}}"|tst_43_{{{43|a}}}{{{43|b}}}=undef|text_43={{{{{{43}}}}}}
|key_37="{{{37|}}}"|tst_37_{{{37|a}}}{{{37|b}}}=undef|text_37={{{{{{37}}}}}}|boxstyle_37={{{boxstyle_{{{37}}}|}}}
|key_44="{{{44|}}}"|tst_44_{{{44|a}}}{{{44|b}}}=undef|text_44={{{{{{44}}}}}}
|key_38="{{{38|}}}"|tst_38_{{{38|a}}}{{{38|b}}}=undef|text_38={{{{{{38}}}}}}|boxstyle_38={{{boxstyle_{{{38}}}|}}}
|key_45="{{{45|}}}"|tst_45_{{{45|a}}}{{{45|b}}}=undef|text_45={{{{{{45}}}}}}
|key_39="{{{39|}}}"|tst_39_{{{39|a}}}{{{39|b}}}=undef|text_39={{{{{{39}}}}}}|boxstyle_39={{{boxstyle_{{{39}}}|}}}
|key_46="{{{46|}}}"|tst_46_{{{46|a}}}{{{46|b}}}=undef|text_46={{{{{{46}}}}}}
|key_40="{{{40|}}}"|tst_40_{{{40|a}}}{{{40|b}}}=undef|text_40={{{{{{40}}}}}}|boxstyle_40={{{boxstyle_{{{40}}}|}}}
|key_47="{{{47|}}}"|tst_47_{{{47|a}}}{{{47|b}}}=undef|text_47={{{{{{47}}}}}}
|key_41="{{{41|}}}"|tst_41_{{{41|a}}}{{{41|b}}}=undef|text_41={{{{{{41}}}}}}|boxstyle_41={{{boxstyle_{{{41}}}|}}}
|key_48="{{{48|}}}"|tst_48_{{{48|a}}}{{{48|b}}}=undef|text_48={{{{{{48}}}}}}
|key_42="{{{42|}}}"|tst_42_{{{42|a}}}{{{42|b}}}=undef|text_42={{{{{{42}}}}}}|boxstyle_42={{{boxstyle_{{{42}}}|}}}
|key_49="{{{49|}}}"|tst_49_{{{49|a}}}{{{49|b}}}=undef|text_49={{{{{{49}}}}}}
|key_43="{{{43|}}}"|tst_43_{{{43|a}}}{{{43|b}}}=undef|text_43={{{{{{43}}}}}}|boxstyle_43={{{boxstyle_{{{43}}}|}}}
|key_50="{{{50|}}}"|tst_50_{{{50|a}}}{{{50|b}}}=undef|text_50={{{{{{50}}}}}}
|key_44="{{{44|}}}"|tst_44_{{{44|a}}}{{{44|b}}}=undef|text_44={{{{{{44}}}}}}|boxstyle_44={{{boxstyle_{{{44}}}|}}}
|key_51="{{{51|}}}"|tst_51_{{{51|a}}}{{{51|b}}}=undef|text_51={{{{{{51}}}}}}
|key_45="{{{45|}}}"|tst_45_{{{45|a}}}{{{45|b}}}=undef|text_45={{{{{{45}}}}}}|boxstyle_45={{{boxstyle_{{{45}}}|}}}
|key_52="{{{52|}}}"|tst_52_{{{52|a}}}{{{52|b}}}=undef|text_52={{{{{{52}}}}}}
|key_46="{{{46|}}}"|tst_46_{{{46|a}}}{{{46|b}}}=undef|text_46={{{{{{46}}}}}}|boxstyle_46={{{boxstyle_{{{46}}}|}}}
|key_53="{{{53|}}}"|tst_53_{{{53|a}}}{{{53|b}}}=undef|text_53={{{{{{53}}}}}}
|key_47="{{{47|}}}"|tst_47_{{{47|a}}}{{{47|b}}}=undef|text_47={{{{{{47}}}}}}|boxstyle_47={{{boxstyle_{{{47}}}|}}}
|key_54="{{{54|}}}"|tst_54_{{{54|a}}}{{{54|b}}}=undef|text_54={{{{{{54}}}}}}
|key_48="{{{48|}}}"|tst_48_{{{48|a}}}{{{48|b}}}=undef|text_48={{{{{{48}}}}}}|boxstyle_48={{{boxstyle_{{{48}}}|}}}
|key_55="{{{55|}}}"|tst_55_{{{55|a}}}{{{55|b}}}=undef|text_55={{{{{{55}}}}}}
|key_49="{{{49|}}}"|tst_49_{{{49|a}}}{{{49|b}}}=undef|text_49={{{{{{49}}}}}}|boxstyle_49={{{boxstyle_{{{49}}}|}}}
|key_56="{{{56|}}}"|tst_56_{{{56|a}}}{{{56|b}}}=undef|text_56={{{{{{56}}}}}}
|key_50="{{{50|}}}"|tst_50_{{{50|a}}}{{{50|b}}}=undef|text_50={{{{{{50}}}}}}|boxstyle_50={{{boxstyle_{{{50}}}|}}}
|key_57="{{{57|}}}"|tst_57_{{{57|a}}}{{{57|b}}}=undef|text_57={{{{{{57}}}}}}
|key_51="{{{51|}}}"|tst_51_{{{51|a}}}{{{51|b}}}=undef|text_51={{{{{{51}}}}}}|boxstyle_51={{{boxstyle_{{{51}}}|}}}
|key_58="{{{58|}}}"|tst_58_{{{58|a}}}{{{58|b}}}=undef|text_58={{{{{{58}}}}}}
|key_52="{{{52|}}}"|tst_52_{{{52|a}}}{{{52|b}}}=undef|text_52={{{{{{52}}}}}}|boxstyle_52={{{boxstyle_{{{52}}}|}}}
|key_59="{{{59|}}}"|tst_59_{{{59|a}}}{{{59|b}}}=undef|text_59={{{{{{59}}}}}}
|key_53="{{{53|}}}"|tst_53_{{{53|a}}}{{{53|b}}}=undef|text_53={{{{{{53}}}}}}|boxstyle_53={{{boxstyle_{{{53}}}|}}}
|key_60="{{{60|}}}"|tst_60_{{{60|a}}}{{{60|b}}}=undef|text_60={{{{{{60}}}}}}
|key_54="{{{54|}}}"|tst_54_{{{54|a}}}{{{54|b}}}=undef|text_54={{{{{{54}}}}}}|boxstyle_54={{{boxstyle_{{{54}}}|}}}
|key_61="{{{61|}}}"|tst_61_{{{61|a}}}{{{61|b}}}=undef|text_61={{{{{{61}}}}}}
|key_55="{{{55|}}}"|tst_55_{{{55|a}}}{{{55|b}}}=undef|text_55={{{{{{55}}}}}}|boxstyle_55={{{boxstyle_{{{55}}}|}}}
|key_62="{{{62|}}}"|tst_62_{{{62|a}}}{{{62|b}}}=undef|text_62={{{{{{62}}}}}}
|key_56="{{{56|}}}"|tst_56_{{{56|a}}}{{{56|b}}}=undef|text_56={{{{{{56}}}}}}|boxstyle_56={{{boxstyle_{{{56}}}|}}}
|key_63="{{{63|}}}"|tst_63_{{{63|a}}}{{{63|b}}}=undef|text_63={{{{{{63}}}}}}
|key_57="{{{57|}}}"|tst_57_{{{57|a}}}{{{57|b}}}=undef|text_57={{{{{{57}}}}}}|boxstyle_57={{{boxstyle_{{{57}}}|}}}
|key_64="{{{64|}}}"|tst_64_{{{64|a}}}{{{64|b}}}=undef|text_64={{{{{{64}}}}}}
|key_58="{{{58|}}}"|tst_58_{{{58|a}}}{{{58|b}}}=undef|text_58={{{{{{58}}}}}}|boxstyle_58={{{boxstyle_{{{58}}}|}}}
|key_65="{{{65|}}}"|tst_65_{{{65|a}}}{{{65|b}}}=undef|text_65={{{{{{65}}}}}}
|key_59="{{{59|}}}"|tst_59_{{{59|a}}}{{{59|b}}}=undef|text_59={{{{{{59}}}}}}|boxstyle_59={{{boxstyle_{{{59}}}|}}}
|key_66="{{{66|}}}"|tst_66_{{{66|a}}}{{{66|b}}}=undef|text_66={{{{{{66}}}}}}
|key_60="{{{60|}}}"|tst_60_{{{60|a}}}{{{60|b}}}=undef|text_60={{{{{{60}}}}}}|boxstyle_60={{{boxstyle_{{{60}}}|}}}
|key_67="{{{67|}}}"|tst_67_{{{67|a}}}{{{67|b}}}=undef|text_67={{{{{{67}}}}}}
|key_61="{{{61|}}}"|tst_61_{{{61|a}}}{{{61|b}}}=undef|text_61={{{{{{61}}}}}}|boxstyle_61={{{boxstyle_{{{61}}}|}}}
|key_68="{{{68|}}}"|tst_68_{{{68|a}}}{{{68|b}}}=undef|text_68={{{{{{68}}}}}}
|key_62="{{{62|}}}"|tst_62_{{{62|a}}}{{{62|b}}}=undef|text_62={{{{{{62}}}}}}|boxstyle_62={{{boxstyle_{{{62}}}|}}}
|key_69="{{{69|}}}"|tst_69_{{{69|a}}}{{{69|b}}}=undef|text_69={{{{{{69}}}}}}
|key_63="{{{63|}}}"|tst_63_{{{63|a}}}{{{63|b}}}=undef|text_63={{{{{{63}}}}}}|boxstyle_63={{{boxstyle_{{{63}}}|}}}
|key_70="{{{70|}}}"|tst_70_{{{70|a}}}{{{70|b}}}=undef|text_70={{{{{{70}}}}}}
|key_64="{{{64|}}}"|tst_64_{{{64|a}}}{{{64|b}}}=undef|text_64={{{{{{64}}}}}}|boxstyle_64={{{boxstyle_{{{64}}}|}}}
|key_71="{{{71|}}}"|tst_71_{{{71|a}}}{{{71|b}}}=undef|text_71={{{{{{71}}}}}}
|key_65="{{{65|}}}"|tst_65_{{{65|a}}}{{{65|b}}}=undef|text_65={{{{{{65}}}}}}|boxstyle_65={{{boxstyle_{{{65}}}|}}}
|key_72="{{{72|}}}"|tst_72_{{{72|a}}}{{{72|b}}}=undef|text_72={{{{{{72}}}}}}
|key_66="{{{66|}}}"|tst_66_{{{66|a}}}{{{66|b}}}=undef|text_66={{{{{{66}}}}}}|boxstyle_66={{{boxstyle_{{{66}}}|}}}
|key_73="{{{73|}}}"|tst_73_{{{73|a}}}{{{73|b}}}=undef|text_73={{{{{{73}}}}}}
|key_67="{{{67|}}}"|tst_67_{{{67|a}}}{{{67|b}}}=undef|text_67={{{{{{67}}}}}}|boxstyle_67={{{boxstyle_{{{67}}}|}}}
|key_74="{{{74|}}}"|tst_74_{{{74|a}}}{{{74|b}}}=undef|text_74={{{{{{74}}}}}}
|key_68="{{{68|}}}"|tst_68_{{{68|a}}}{{{68|b}}}=undef|text_68={{{{{{68}}}}}}|boxstyle_68={{{boxstyle_{{{68}}}|}}}
|key_75="{{{75|}}}"|tst_75_{{{75|a}}}{{{75|b}}}=undef|text_75={{{{{{75}}}}}}
|key_69="{{{69|}}}"|tst_69_{{{69|a}}}{{{69|b}}}=undef|text_69={{{{{{69}}}}}}|boxstyle_69={{{boxstyle_{{{69}}}|}}}
|key_76="{{{76|}}}"|tst_76_{{{76|a}}}{{{76|b}}}=undef|text_76={{{{{{76}}}}}}
|key_70="{{{70|}}}"|tst_70_{{{70|a}}}{{{70|b}}}=undef|text_70={{{{{{70}}}}}}|boxstyle_70={{{boxstyle_{{{70}}}|}}}
|key_77="{{{77|}}}"|tst_77_{{{77|a}}}{{{77|b}}}=undef|text_77={{{{{{77}}}}}}
|key_71="{{{71|}}}"|tst_71_{{{71|a}}}{{{71|b}}}=undef|text_71={{{{{{71}}}}}}|boxstyle_71={{{boxstyle_{{{71}}}|}}}
|key_78="{{{78|}}}"|tst_78_{{{78|a}}}{{{78|b}}}=undef|text_78={{{{{{78}}}}}}
|key_72="{{{72|}}}"|tst_72_{{{72|a}}}{{{72|b}}}=undef|text_72={{{{{{72}}}}}}|boxstyle_72={{{boxstyle_{{{72}}}|}}}
|key_79="{{{79|}}}"|tst_79_{{{79|a}}}{{{79|b}}}=undef|text_79={{{{{{79}}}}}}
|key_73="{{{73|}}}"|tst_73_{{{73|a}}}{{{73|b}}}=undef|text_73={{{{{{73}}}}}}|boxstyle_73={{{boxstyle_{{{73}}}|}}}
|key_80="{{{80|}}}"|tst_80_{{{80|a}}}{{{80|b}}}=undef|text_80={{{{{{80}}}}}}
|key_74="{{{74|}}}"|tst_74_{{{74|a}}}{{{74|b}}}=undef|text_74={{{{{{74}}}}}}|boxstyle_74={{{boxstyle_{{{74}}}|}}}
|key_81="{{{81|}}}"|tst_81_{{{81|a}}}{{{81|b}}}=undef|text_81={{{{{{81}}}}}}
|key_75="{{{75|}}}"|tst_75_{{{75|a}}}{{{75|b}}}=undef|text_75={{{{{{75}}}}}}|boxstyle_75={{{boxstyle_{{{75}}}|}}}
|key_82="{{{82|}}}"|tst_82_{{{82|a}}}{{{82|b}}}=undef|text_82={{{{{{82}}}}}}
|key_76="{{{76|}}}"|tst_76_{{{76|a}}}{{{76|b}}}=undef|text_76={{{{{{76}}}}}}|boxstyle_76={{{boxstyle_{{{76}}}|}}}
|key_83="{{{83|}}}"|tst_83_{{{83|a}}}{{{83|b}}}=undef|text_83={{{{{{83}}}}}}
|key_77="{{{77|}}}"|tst_77_{{{77|a}}}{{{77|b}}}=undef|text_77={{{{{{77}}}}}}|boxstyle_77={{{boxstyle_{{{77}}}|}}}
|key_84="{{{84|}}}"|tst_84_{{{84|a}}}{{{84|b}}}=undef|text_84={{{{{{84}}}}}}
|key_78="{{{78|}}}"|tst_78_{{{78|a}}}{{{78|b}}}=undef|text_78={{{{{{78}}}}}}|boxstyle_78={{{boxstyle_{{{78}}}|}}}
|key_85="{{{85|}}}"|tst_85_{{{85|a}}}{{{85|b}}}=undef|text_85={{{{{{85}}}}}}
|key_79="{{{79|}}}"|tst_79_{{{79|a}}}{{{79|b}}}=undef|text_79={{{{{{79}}}}}}|boxstyle_79={{{boxstyle_{{{79}}}|}}}
|key_86="{{{86|}}}"|tst_86_{{{86|a}}}{{{86|b}}}=undef|text_86={{{{{{86}}}}}}
|key_80="{{{80|}}}"|tst_80_{{{80|a}}}{{{80|b}}}=undef|text_80={{{{{{80}}}}}}|boxstyle_80={{{boxstyle_{{{80}}}|}}}
|key_87="{{{87|}}}"|tst_87_{{{87|a}}}{{{87|b}}}=undef|text_87={{{{{{87}}}}}}
|undef=}}</includeonly><noinclude>
|key_88="{{{88|}}}"|tst_88_{{{88|a}}}{{{88|b}}}=undef|text_88={{{{{{88}}}}}}
{{{{FULLPAGENAME}}/doc}}
|key_89="{{{89|}}}"|tst_89_{{{89|a}}}{{{89|b}}}=undef|text_89={{{{{{89}}}}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|key_90="{{{90|}}}"|tst_90_{{{90|a}}}{{{90|b}}}=undef|text_90={{{{{{90}}}}}}
</noinclude>
|key_91="{{{91|}}}"|tst_91_{{{91|a}}}{{{91|b}}}=undef|text_91={{{{{{91}}}}}}
|key_92="{{{92|}}}"|tst_92_{{{92|a}}}{{{92|b}}}=undef|text_92={{{{{{92}}}}}}
|key_93="{{{93|}}}"|tst_93_{{{93|a}}}{{{93|b}}}=undef|text_93={{{{{{93}}}}}}
|key_94="{{{94|}}}"|tst_94_{{{94|a}}}{{{94|b}}}=undef|text_94={{{{{{94}}}}}}
|key_95="{{{95|}}}"|tst_95_{{{95|a}}}{{{95|b}}}=undef|text_95={{{{{{95}}}}}}
|key_96="{{{96|}}}"|tst_96_{{{96|a}}}{{{96|b}}}=undef|text_96={{{{{{96}}}}}}
|key_97="{{{97|}}}"|tst_97_{{{97|a}}}{{{97|b}}}=undef|text_97={{{{{{97}}}}}}
|key_98="{{{98|}}}"|tst_98_{{{98|a}}}{{{98|b}}}=undef|text_98={{{{{{98}}}}}}
|key_99="{{{99|}}}"|tst_99_{{{99|a}}}{{{99|b}}}=undef|text_99={{{{{{99}}}}}}
|undef=}}</includeonly>

Revision as of 00:03, 15 December 2007

This is a template for rendering simple family trees 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.

Example usage

This code:

{{familytree/start}}
{{familytree | | | | GRM |~|y|~| GRP | | GRM=[[Grandma]]|GRP=[[Grandpa]]}}
{{familytree | | | | | | | |)|-|-|-|.| }}
{{familytree | | | MOM |y| DAD | |DAI| MOM=[[Mom]]|DAD=[[Dad]]|DAI=[[Daisy|Aunt]]}}
{{familytree | |,|-|-|-|+|-|-|-|.| | | }}
{{familytree | JOE | | ME | | SIS | | | JOE=[[My elder brother]]|ME='''ME'''|SIS=[[My little sister]]}}
{{familytree/end}}

Produces this:

 
 
 
Grandma
 
 
 
Grandpa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mom
 
Dad
 
Aunt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
My elder brother
 
ME
 
My little sister
 
 


Parameters

This template produces one row in a family tree table. The template accepts up to 99 unnamed parameters describing the contents of the table. Each parameter specifies a tile or a box.

  • Tiles are line drawing symbols consisting of horizontal and vertical lines and various corners and crossings thereof. Tiles are specified using single-character symbols that more or less approximate the shape of the tile in appearance. A special case of a tile is the empty tile, specified by a single space character. A table of supported tiles is given below.
Solid lines:
,
 
 
 
 
  .
 
 
 
  `
 
 
 
  '
 
 
 
 
^
 
 
 
  v
 
 
 
  (
 
 
 
  )
 
 
 
 
-
 
 
  !
 
 
  +
 
 
 
 
 
 
 
Dashed lines:
F
 
 
 
 
  7
 
 
 
  L
 
 
 
  J
 
 
 
 
A
 
 
 
  V
 
 
 
  C
 
 
 
  D
 
 
 
 
~
 
 
  :
 
 
  %
 
 
 
 
 
 
 
Mixed:
*
 
 
 
 
  }
 
 
 
  {
 
 
 
 
#
 
 
 
 
  y
 
 
 
  h
 
 
 
 
]
 
 
 
  [
 
 
 
 


  • Boxes can contain arbitrary wiki markup. The contents of boxes are specified using additional named parameters appended to the template call. Each box is three tiles wide and normally has a 2 pixels wide black border. Boxes can have any name that is a valid template parameter name, although single character names should be avoided to prevent conflicts with tile symbols.