Templat:Tree chart
Templat chart digunakan untuk membuat diagram silsilah. Templat ini berasal dari en.wikipedia.org/ensiklopedia/template:chart. Templat ini dibuat berdasarkan Templat:familytree.
Pemakaian
Contoh:
code:
{{tree chart/start}}
{{tree chart | | | | GRM |~|y|~| GRP | | GRM=Grandma|GRP=Grandpa}}
{{tree chart | | | | | | | |)|-|-|-|.| }}
{{tree chart | | | MOM |y| DAD | |DAISY| MOM=Mom|DAD=Dad|DAISY=[[Aunt Daisy]]}}
{{tree chart | |,|-|-|-|+|-|-|-|.| | | }}
{{tree chart | JOE | | ME | | SIS | | | JOE=My brother Joe|ME='''Me!'''|SIS=My little sister}}
{{tree chart/end}}
Menghasilkan:
| Grandma | Grandpa | ||||||||||||||||||||||||
| Mom | Dad | Aunt Daisy | |||||||||||||||||||||||
| My brother Joe | Me! | My little sister | |||||||||||||||||||||||
Parameter yang digunakan
Parameter-parameter yang digunakan di templat "familytree"
, |
. |
` |
' |
||||||||||||||||||||||
^ |
v |
( |
) |
||||||||||||||||||||||
- |
! |
+ |
|
||||||||||||||||||||||
F |
7 |
L |
J |
||||||||||||||||||||||
A |
V |
C |
D |
||||||||||||||||||||||
~ |
: |
% |
|
||||||||||||||||||||||
S |
T |
Y |
Z |
||||||||||||||||||||||
W |
M |
G |
H |
||||||||||||||||||||||
P |
Q |
R |
|
||||||||||||||||||||||
* |
d |
c |
a |
k |
l |
a2 |
k2 |
l2 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
t |
y |
h |
b |
m |
n |
b2 |
m2 |
n2 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
f |
e |
i |
j |
o |
p |
q |
r |
o2 |
p2 |
q2 |
r2 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Menambahkan warna latar belakang ke kotak
Kode:
{{tree chart/start}}
{{tree chart|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}
{{tree chart|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{tree chart|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{tree chart/end}}
menghasilkan:
| Box 1 | Box 2 | ||||||||||||||||
| Box 3 | Box 4 | ||||||||||||||||
Lihat pula
Konten ini disalin dari wikipedia, mohon digunakan dengan bijak.


