Templat:Chart/doc

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas

Templat chart digunakan untuk membuat diagram silsilah. Templat ini berasal dari en.wikipedia.org/wiki/template:chart. Templat ini dibuat berdasarkan Templat:familytree.

Pemakaian[sunting sumber]

Contoh:
code:

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

Menghasilkan:

GrandmaGrandpa
MomDadAunt Daisy
My brother JoeMe!My little sister

Parameter yang digunakan[sunting sumber]

Parameter-parameter yang digunakan di templat "familytree"[sunting sumber]

Tegas:
,
  .
  `
  '
 
^
  v
  (
  )
 
-
  !
  +
 
 
Putus-putus:
F
  7
  L
  J
 
A
  V
  C
  D
 
~
  :
  %
 
 
Titik-titik:
S
  T
  Y
  Z
 
W
  M
  G
  H
 
P
  Q
  R
 
 
Campuran:
*
  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[sunting sumber]

Kode:

{{chart/start}}
{{chart|border=0|boxstyle=background:#dfd;| | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}
{{chart|border=0|boxstyle=background:#dfd;| | |,|-|^|-|.| | }}
{{chart|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{chart/end}}

menghasilkan:

Box 1Box 2
Box 3Box 4

Lihat pula[sunting sumber]