Templat:Chart
Loncat ke navigasi
Loncat ke pencarian
[lihat] [sunting] [versi terdahulu] [ ]
Dokumentasi templat

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:
Grandma | Grandpa | ||||||||||||||||||||||||
Mom | Dad | Aunt Daisy | |||||||||||||||||||||||
My brother Joe | Me! | My little sister | |||||||||||||||||||||||
Parameter yang digunakan[sunting sumber]
Parameter-parameter yang digunakan di templat "familytree"[sunting sumber]
, | . | ` | ' | ||||||||||||||||||
^ | 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[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 1 | Box 2 | ||||||||||||||||
Box 3 | Box 4 | ||||||||||||||||
Lihat pula[sunting sumber]
Dokumentasi di atas ditransklusikan dari Templat:Chart/doc. (sunting | versi terdahulu) Penyunting dapat melakukan uji coba pada halaman bak pasir (buat | cermin) dan kasus uji (buat) templat ini. Mohon tambahkan kategori pada subhalaman /doc. Subhalaman templat ini. |