User:Icemandeaf/Sandbox

Explanation
The above code is the basic format used for family trees for my Fanon. You will notice that the basic structure is as followed:


 * Starting template
 * Image and Name line
 * Tree branch line(s)
 * Image and Name line
 * Ending template

There is a variable in the image and name line:Some Name. This is the name of the Sim that goes in the family tree. More may be added if there are more that one Sim on each line, but each should be given a different variable (i.e. A, B, C, D, etc.). It is also possible to add parameters to Some Name with self. This makes it so that there is no link or title on the image and name since it directs to the same page. Other parameters that can be added are dam and sire. When setting dam or sire to a specific Sim, their small image will be placed just above the main image to the left for dams and right for sires. I use these to place unrelated dams and sires within the tree. The last two lines before the ending template can be repeated as needed for additional generations.

Personal Family Trees


A Full Personal Family Tree
Below is an example of a family tree with all the grandparents, parents, siblings, uncles and cousins of a particular Sim. Uncles are resized to 2/3 the size of parents, and cousins are resized to half the size of the siblings. Relationship lines are not connected between uncles to cousins for the sake of simplicity; however; the uncle who damed or sired the cousin is placed with a small image just above the cousin in the typical location.