Template:Familytree

From Wikipedia

Ovaj template koristi jedan ili više opcionalnih parametera: v. talk page for details.

Ovaj template koristi neke vrlo komplicirane i ezoterične oblike sintakse template. Nemojte pokušavati izmijeniti ih ukoliko ne poznate sintaksu i niste spremni popraviti kolateralnu štetu ako su rezultati neočekivani. Sve eksperimente valja obaviti u kući od pijeska ili na korisničkom računu.

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.

[uredi - уреди] Example usage

This code:

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

Produces this:

 
 
 
Grandma
 
 
 
 
 
 
 
Grandpa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mom
 
 
 
Dad
 
Aunt Daisy
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
My brother Joe
 
Me!
 
My little sister
 
 

See the talk page for detailed instructions!