Template:Tree chart/doc

系図を作成するテンプレート。

Template:Tree chart/doc

系図を作成するテンプレート。

使い方

{{Tree chart/start}}と{{Tree chart/end}}の間に{{Tree chart}}を記述。

使用例

入力:

{{Tree chart/start|align=center|summary=An example family tree}}
{{Tree chart| | | |GrMa |~|y|~| GRP | |GrMa=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}}

表示:

GrandmaGrandpa
MomDadAunt Daisy
My brother JoeMe!My little sister

上記のコードは、以下に示すように、9行x10列のサイズの表を生成しています。

上記例を使用して作成された表構成
上記例を使用して作成された表構成

引数

このテンプレートでは、任意の数の名前のないパラメータを受け付けることができ、それぞれのパラメータでタイルまたはボックスを指定します。

  • ボックスの中には、任意のウィキマークアップを含めることができます。各ボックスの内容は、テンプレート呼び出しの後ろに追加する名前付きパラメータによって指定します。それぞれのボックスはタイル3枚分の幅を持ち、通常は2ピクセルの黒い枠線で囲まれます。ボックスの名前には、有効なテンプレートのパラメータ名であればどのような名前でも使用できますが、最低2文字の英文字を含める必要があります。
  • タイルは、ボックス同士を結合するために使用される線画の記号です。これらは、さまざまなスタイルの縦線や横線、および必要に応じたコーナーやクロスで構成されています。タイルは、1文字または2文字の名前を使用して指定します。最も一般的なタイルの場合、その文字はタイルの見た目におおむね近い形をしています。タイルの特殊な例として「空白のタイル」があり、これは半角スペース1つで指定します。使用可能なタイルの一覧を以下に示します。
実線
!
  ,
  v
  .
 
-
  )
  +
  (
 
`
  ^
  '
 
破線
:
  F
  V
  7
 
~
  D
  %
  C
 
L
  A
  J
 
点線
Q
  S
  M
  T
 
P
  H
  R
  G
 
Y
  W
  Z
 
水平方向 - 破線
垂直方向 - 実線
fy
y
ye
f
t
e
fh
h
he
水平方向 - 実線
垂直方向 - 破線
dj
j
jc
d
*
c
di
i
ic
水平方向 - 実線
垂直方向 - 点線
kr
r
rl
k
a
l
kq
q
ql
水平方向 - 破線
垂直方向 - 点線
kr2
r2
rl2
k2
a2
l2
kq2
q2
ql2
水平方向 - 点線
垂直方向 - 実線
om
m
mp
o
b
p
on
n
np
水平方向 - 点線
垂直方向 - 破線
om2
m2
mp2
o2
b2
p2
on2
n2
np2
その他({{Familytree}}での灰色の背景が利用できない、または仕様が変更されたもの)
k3
T2
l3
l4
G2
b3
E
K
U
X
X2

関連項目

  • {{Familytree}} - 元になったテンプレート(英語版では統合し廃止)


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.