|
|
Line 136: |
Line 136: |
| {{clear}} | | {{clear}} |
|
| |
|
| ===New Line=== | | === New line === |
| | |
| A "_" indicates to start a new row. | | A "_" indicates to start a new row. |
|
| |
|
| ===Boxes=== | | === Boxes === |
| | |
| A box will be formed from any parameter that contains more than two characters. A box is three tiles wide and one tile long, regardless of the string length, so plan the graph accordingly. | | A box will be formed from any parameter that contains more than two characters. A box is three tiles wide and one tile long, regardless of the string length, so plan the graph accordingly. |
|
| |
|
Line 165: |
Line 163: |
| }} | | }} |
|
| |
|
| == Prefabricated Templates == | | == Prefabricated templates == |
| Family tree tables that are prolifically used on the site are constructed in advance as their own sub-templates. This is beneficial for maintenance purposes as it allows changes to be made quickly and efficiently to all the articles which use these family trees. These templates are listed below: | | Family tree tables that are prolifically used on the site are constructed in advance as their own sub-templates. This is beneficial for maintenance purposes as it allows changes to be made quickly and efficiently to all the articles which use these family trees. These templates are listed below: |
| * {{tl|Familytree/Fire Nation Royal Family}} | | * {{tl|Familytree/Fire Nation Royal Family}} |
Revision as of 14:41, 20 August 2020
This is dependent on Template:Familytree/element.
Parameters
This template produces a family tree table. The template accepts up to 400 unnamed parameters describing the contents of the table. Each parameter specifies a tile or a box, or a line break.
Tiles
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 one or more space characters. A table of supported tiles is given below.
Solid lines:
,
|
|
v
|
|
.
|
|
)
|
|
+
|
|
(
|
|
`
|
|
^
|
|
'
|
|
-
|
|
!
|
|
|
|
Dashed lines:
F
|
|
V
|
|
7
|
|
D
|
|
%
|
|
C
|
|
L
|
|
A
|
|
J
|
|
~
|
|
:
|
|
|
|
Mixed (1):
r
|
|
y
|
|
n
|
|
]
|
|
#
|
|
[
|
|
c
|
|
h
|
|
j
|
|
~
|
|
!
|
|
|
|
Mixed (2):
p
|
|
u
|
|
q
|
|
}
|
|
*
|
|
{
|
|
b
|
|
t
|
|
d
|
|
-
|
|
:
|
|
|
|
New line
A "_" indicates to start a new row.
Boxes
A box will be formed from any parameter that contains more than two characters. A box is three tiles wide and one tile long, regardless of the string length, so plan the graph accordingly.
Example
{{Familytree
|Grandpop|y|Mema | |Grandma|_
| | | |!| | | | | | ! | |_
| | | Dad |~|y|~| Mom |_
| | | | | | |!| | | | |_
| | | | | | Me! | | | |_
}}
gives
Grandpop |
| Mema |
| Grandma |
|
|
|
|
|
|
|
|
|
|
|
|
| Dad |
|
|
| Mom |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Me! |
|
|
|
Prefabricated templates
Family tree tables that are prolifically used on the site are constructed in advance as their own sub-templates. This is beneficial for maintenance purposes as it allows changes to be made quickly and efficiently to all the articles which use these family trees. These templates are listed below: