Templat:Family tree
(Dialihkan dari Templat:Familytree)
Templat familytree digunakan untuk membuat silsilah. Templat ini berasal dari templat Familytree di Wikipedia Bahasa Inggris.
Contoh:
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}}
Menghasilkan:
Grandma | Grandpa | ||||||||||||||||||||||||
Mom | Dad | Aunt Daisy | |||||||||||||||||||||||
My brother Joe | Me! | My little sister | |||||||||||||||||||||||
Templat yang digunakan
sunting- {{familytree}} -> nenek+kakek
- {{familytree/start}}
- {{familytree/end}}
- {{familytree/step2}}
Parameter yang digunakan
suntingParameter-parameter yang digunakan di templat "familytree"
sunting, |
v |
. |
|||||||||||||||
) |
+ |
( |
|||||||||||||||
` |
^ |
' |
|||||||||||||||
- |
! |
|
F |
V |
7 |
|||||||||||||||
D |
% |
C |
|||||||||||||||
L |
A |
J |
|||||||||||||||
~ |
: |
|
r |
y |
n |
|||||||||||||||
] |
# |
[ |
|||||||||||||||
c |
h |
j |
|||||||||||||||
~ |
! |
|
p |
u |
q |
|||||||||||||||||
} |
* |
{ |
|||||||||||||||||
b |
t |
d |
|||||||||||||||||
- |
: |
|
T |
|||||||||||||||||||||
G |
X |
K |
k |
||||||||||||||||||
U |
Menambahkan warna latar belakang ke kotak
suntingKode:
{{familytree/start}} {{familytree|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}} {{familytree|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }} {{familytree|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}} {{familytree/end}}
menghasilkan:
Box 1 | Box 2 | ||||||||||||||||
Box 3 | Box 4 | ||||||||||||||||