Template:Family tree

From RuneRealm Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Family tree/doc. [edit] [history] [purge]
Template:Family tree invokes function main in Module:Family tree using Lua.

Parameters

This template produces a family tree table. The template accepts any number of 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
Other
-
!
~
:
_ 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.

Specifics

For characters that have their title or multiple names included in their article name, use the first name only, if possible. For example [[Lord Lowerniel Vergidiyad Drakan|Lowerniel]].

For deceased characters, add a dagger (†) beside their name, separated by a space.

Example

{{Family tree
| |||||Unknown †|||_
| ||||||!||||_
| |||||[[King Narras|Narras]] †|||_
| |||,|-|-|^|-|-|.||_
| ||[[King Ulthas|Ulthas]] †||||Unknown |||_
| |,|-|^|-|.||||!|||_                 
| [[King Tyras|Tyras]] †||[[King Lathas|Lathas]] †|| [[King Thoros|Thoros]]|||_
}}

gives:

Unknown †
Narras
Ulthas
Unknown
Tyras
Lathas
Thoros