메뉴 여닫기
환경 설정 메뉴 여닫기
개인 메뉴 여닫기
로그인하지 않음
지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.
Template documentation (for the above template, sometimes partially or fully invisible)[view] [edit] [history] [refresh]
This is a heavily modified version of a template from another wiki.
This template was copied from Game of Thrones Wiki. Please see the other wiki for their version of the template.
This template makes use of one or more other templates to function.
Depends on: {{Family tree/step2}}

The {{family tree}} template produces one row in a family tree table.

When using this, remember to include the {{family tree/start}} and {{family tree/end}} calls; see Usage below.

Parameters

The template accepts up to 80 unnamed parameters describing the contents of the table. Each parameter specifies a tile or a box.

  • Tiles are line drawing symbols consisting of horizontal and vertical lines and various corners and crossings thereof. Tiles are specified using single-character symbols that more or less approximate the shape of the tile in appearance. A special case of a tile is the empty tile, specified by a single space character. A table of supported tiles is given below.
Solid lines:
,
 
 
 
 
v
 
 
 
.
 
 
 
)
 
 
 
+
 
 
 
 
(
 
 
 
`
 
 
 
^
 
 
 
'
 
 
 
-
 
 
!
 
 
Dashed lines:
F
 
 
 
 
V
 
 
 
7
 
 
 
D
 
 
 
%
 
 
 
 
C
 
 
 
L
 
 
 
A
 
 
 
J
 
 
 
~
 
 
:
 
 
Mixed (H dashed):
r
 
 
 
 
y
 
 
 
n
 
 
 
]
 
 
 
#
 
 
 
 
[
 
 
 
c
 
 
 
h
 
 
 
j
 
 
 
~
 
 
!
 
 
Mixed (V dashed):
p
 
 
 
 
u
 
 
 
q
 
 
 
E
 
 
 
*
 
 
 
 
3
 
 
 
b
 
 
 
t
 
 
 
d
 
 
 
-
 
 
:
 
 
Mixed (other):
T
 
 
 
 
G
 
 
 
 
X
 
 
 
 
K
 
 
 
k
 
 
 
U
 
 
 


  • Boxes can contain arbitrary wiki markup. The contents of boxes are specified using additional named parameters appended to the template call. Each box is three tiles wide and normally has a 2 pixels wide black border. Boxes can have any name that is a valid template parameter name, although single character names should be avoided to prevent conflicts with tile symbols.

Usage

Other than the lines denoted with the {{Family tree}} template, the {{Family tree/start}} and {{Family tree/end}} calls must surround every set of lines to complete the chart.

Example

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

gives

 
 
 
Grandma
 
 
 
Grandpa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mom
 
Dad
 
Aunt Daisy
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
My brother Joe
 
Me!
 
My little sister
 
 
The above text is transcluded from 틀:Family tree/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to 틀:Family tree/doc. (View all subpages of this page.)