Forum:How do you make a family tree?

Like, how do you get the coding for it? I viewed the source, the template is unable to be copied, when I just write it it doesn't come out write, and I need it for my very boring userpage. ): Seriously, how do you find the coding?