Template:Familytree/doc: Difference between revisions
m (→Tiles: +clear, replaced: <br clear="all"/> → {{clear}}) |
m (Remove deprecated) |
||
Line 12: | Line 12: | ||
|+ '''Solid lines:''' | |+ '''Solid lines:''' | ||
|- | |- | ||
| <big>< | | <big><code>,</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|,}} | | style="border:1px solid gray;"| {{Familytree|,}} | ||
| <big>< | | <big><code>v</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|v}} | | style="border:1px solid gray;"| {{Familytree|v}} | ||
| <big>< | | <big><code>.</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|.}} | | style="border:1px solid gray;"| {{Familytree|.}} | ||
|- | |- | ||
| <big>< | | <big><code>)</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|)}} | | style="border:1px solid gray;"| {{Familytree|)}} | ||
| <big>< | | <big><code>+</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|+}} | | style="border:1px solid gray;"| {{Familytree|+}} | ||
| <big>< | | <big><code>(</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|(}} | | style="border:1px solid gray;"| {{Familytree|(}} | ||
|- | |- | ||
| <big>< | | <big><code>`</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|`}} | | style="border:1px solid gray;"| {{Familytree|`}} | ||
| <big>< | | <big><code>^</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|^}} | | style="border:1px solid gray;"| {{Familytree|^}} | ||
| <big>< | | <big><code>'</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|'}} | | style="border:1px solid gray;"| {{Familytree|'}} | ||
|- | |- | ||
| <big>< | | <big><code>-</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|-}} | | style="border:1px solid gray;"| {{Familytree|-}} | ||
| <big>< | | <big><code>!</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|!}} | | style="border:1px solid gray;"| {{Familytree|!}} | ||
| <big>< | | <big><code> </code></big> | ||
| style="border:1px solid gray;"| {{Familytree| }} | | style="border:1px solid gray;"| {{Familytree| }} | ||
|} | |} | ||
Line 43: | Line 43: | ||
|+ '''Dashed lines:''' | |+ '''Dashed lines:''' | ||
|- | |- | ||
| <big>< | | <big><code>F</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|F}} | | style="border:1px solid gray;"| {{Familytree|F}} | ||
| <big>< | | <big><code>V</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|V}} | | style="border:1px solid gray;"| {{Familytree|V}} | ||
| <big>< | | <big><code>7</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|7}} | | style="border:1px solid gray;"| {{Familytree|7}} | ||
|- | |- | ||
| <big>< | | <big><code>D</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|D}} | | style="border:1px solid gray;"| {{Familytree|D}} | ||
| <big>< | | <big><code>%</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|%}} | | style="border:1px solid gray;"| {{Familytree|%}} | ||
| <big>< | | <big><code>C</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|C}} | | style="border:1px solid gray;"| {{Familytree|C}} | ||
|- | |- | ||
| <big>< | | <big><code>L</code></big> | ||
| style="border: 1px solid gray"| {{Familytree|L}} | | style="border: 1px solid gray"| {{Familytree|L}} | ||
| <big>< | | <big><code>A</code></big> | ||
| style="border: 1px solid gray"| {{Familytree|A}} | | style="border: 1px solid gray"| {{Familytree|A}} | ||
| <big>< | | <big><code>J</code></big> | ||
| style="border: 1px solid gray"| {{Familytree|J}} | | style="border: 1px solid gray"| {{Familytree|J}} | ||
|- | |- | ||
| <big>< | | <big><code>~</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|~}} | | style="border:1px solid gray;"| {{Familytree|~}} | ||
| <big>< | | <big><code>:</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|:}} | | style="border:1px solid gray;"| {{Familytree|:}} | ||
| <big>< | | <big><code> </code></big> | ||
| style="border:1px solid gray;"| {{Familytree| }} | | style="border:1px solid gray;"| {{Familytree| }} | ||
|} | |} | ||
Line 74: | Line 74: | ||
|+ '''Mixed (1):''' | |+ '''Mixed (1):''' | ||
|- | |- | ||
| <big>< | | <big><code>r</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|r}} | | style="border:1px solid gray;"| {{Familytree|r}} | ||
| <big>< | | <big><code>y</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|y}} | | style="border:1px solid gray;"| {{Familytree|y}} | ||
| <big>< | | <big><code>n</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|n}} | | style="border:1px solid gray;"| {{Familytree|n}} | ||
|- | |- | ||
| <big>< | | <big><code>]</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|]}} | | style="border:1px solid gray;"| {{Familytree|]}} | ||
| <big>< | | <big><code>#</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|#}} | | style="border:1px solid gray;"| {{Familytree|#}} | ||
| <big>< | | <big><code>[</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|[}} | | style="border:1px solid gray;"| {{Familytree|[}} | ||
|- | |- | ||
| <big>< | | <big><code>c</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|c}} | | style="border:1px solid gray;"| {{Familytree|c}} | ||
| <big>< | | <big><code>h</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|h}} | | style="border:1px solid gray;"| {{Familytree|h}} | ||
| <big>< | | <big><code>j</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|j}} | | style="border:1px solid gray;"| {{Familytree|j}} | ||
|- | |- | ||
| <big>< | | <big><code>~</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|~}} | | style="border:1px solid gray;"| {{Familytree|~}} | ||
| <big>< | | <big><code>!</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|!}} | | style="border:1px solid gray;"| {{Familytree|!}} | ||
| <big>< | | <big><code> </code></big> | ||
| style="border:1px solid gray;"| {{Familytree| }} | | style="border:1px solid gray;"| {{Familytree| }} | ||
|} | |} | ||
Line 105: | Line 105: | ||
|+ '''Mixed (2):''' | |+ '''Mixed (2):''' | ||
|- | |- | ||
| <big>< | | <big><code>p</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|p}} | | style="border:1px solid gray;"| {{Familytree|p}} | ||
| <big>< | | <big><code>u</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|u}} | | style="border:1px solid gray;"| {{Familytree|u}} | ||
| <big>< | | <big><code>q</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|q}} | | style="border:1px solid gray;"| {{Familytree|q}} | ||
|- | |- | ||
| <big>< | | <big><code>}</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|} }} | | style="border:1px solid gray;"| {{Familytree|} }} | ||
| <big>< | | <big><code>*</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|*}} | | style="border:1px solid gray;"| {{Familytree|*}} | ||
| <big>< | | <big><code>{</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|{}} | | style="border:1px solid gray;"| {{Familytree|{}} | ||
|- | |- | ||
| <big>< | | <big><code>b</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|b}} | | style="border:1px solid gray;"| {{Familytree|b}} | ||
| <big>< | | <big><code>t</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|t}} | | style="border:1px solid gray;"| {{Familytree|t}} | ||
| <big>< | | <big><code>d</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|d}} | | style="border:1px solid gray;"| {{Familytree|d}} | ||
|- | |- | ||
| <big>< | | <big><code>-</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|-}} | | style="border:1px solid gray;"| {{Familytree|-}} | ||
| <big>< | | <big><code>:</code></big> | ||
| style="border:1px solid gray;"| {{Familytree|:}} | | style="border:1px solid gray;"| {{Familytree|:}} | ||
| <big>< | | <big><code> </code></big> | ||
| style="border:1px solid gray;"| {{Familytree| }} | | style="border:1px solid gray;"| {{Familytree| }} | ||
|} | |} |
Revision as of 08:32, 6 July 2012
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.
,
|
|
v
|
|
.
|
| |||||||||||||||
)
|
|
+
|
|
(
|
| |||||||||||||||
`
|
|
^
|
|
'
|
| |||||||||||||||
-
|
|
!
|
|
|
|
F
|
|
V
|
|
7
|
| |||||||||||||||
D
|
|
%
|
|
C
|
| |||||||||||||||
L
|
|
A
|
|
J
|
| |||||||||||||||
~
|
|
:
|
|
|
|
r
|
|
y
|
|
n
|
| |||||||||||||||
]
|
|
#
|
|
[
|
| |||||||||||||||
c
|
|
h
|
|
j
|
| |||||||||||||||
~
|
|
!
|
|
|
|
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|~| Mommy |_ | | | | | | |!| | | | |_ | | | | | | Me! | | | |_ }}
gives
Grandpop |
| Mema |
| Grandma | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||
|
| Dad |
|
|
| Mommy | ||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
| Me! |
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||