Plantilla:Árbol genealógico

De Guild Wars 2 Wiki
Ir a la navegaciónIr a la búsqueda
Traducción necesaria para: texto y contenido de la plantilla

A template for generating Árbol genealógicos, e.g. the descendants of King Doric.

Usage[editar]

Input variables[editar]

parameters
Defaults to 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40. Specifying an alternative range of Números, say 1-50, would produce an additional 10 columns. (A column in the case of this value represents how many parameters you need to feed into the template, so if you have a row with 24 unnamed parameters, set it to 24).

Parameters[editar]

1, 2, 3...39, 40
Unnamed parameters. (Limited to number set by "parameters" variable.)
Options:
Text input Symbol output
´
,
.
:
`
!
-
~
^
>
v
y
u
<
+
#
  • |XXX| or XXXXX (X = any other input) produces {{#var:<parameter number>}} inside a block. Allows you to put text into the blocks.
  • |   | produces a blank cell.
box-style
box-style-1, box-style-2, etc.
Affects all styling applied to a text label box.
border
Affects only the borders around text blocks for the one row. Defaults to "2px solid black".
h-style
h-style-1, h-style-2, etc.
Affects only the horizontal lines produced by the # or ~ signs described above for the one row. Defaults to "1px dashed black".
colspan
Offers the ability to change the number of columns spanned by the text block in the row. Using this parameter will affect all text blocks in the row. (Use multiples of 3, defaults to "6").
text-align
Changes text alignment for the text block(s) in the row. Defaults to "center".

Example[editar]

Véase también: Árbol genealógico de la realeza de Tyria
{{#arraymap:
parameters=1,2,3,4,5,6,7,8,9,10,11
JADON=[[gw1:King Jadon|King Jadon]] <br><small>'''*1030d.É.'''
BEREA=[[gw1:Priestess Berea|Priestess Berea]] <br><small> '''*1030d.É.'''
SALMA=[[gw1:Queen Salma|Queen Salma]] <br><small>'''*1050d.É.'''
BAEDE=[[King Baede]]<br><small> '''*1180d.É.'''
RODER=[[King Roderick]] <br><small>'''*1200d.É.'''
EDAIR=[[Prince Edair]] <br><small>'''*1210d.É.'''
EMILA=[[Princess Emilane]] <br><small>'''*1220d.É.'''
|\n|@@@|{{#vardefine:{{#explode:@@@|=}}|{{#explode:@@@|=|1}}}}}}
{| border="0" cellspacing="0" cellpadding="0" style="font:75% sans-serif"
{{Árbol genealógico|   |   |   |   JADON   | y |   BEREA   }}
{{Árbol genealógico|   |   |   |   |   |   | ! }}
{{Árbol genealógico|   |   |   |   |   |   SALMA   }}
{{Árbol genealógico|   |   |   |   |   |   | ! }}
{{Árbol genealógico|   |   |   |   |   |   BAEDE   }}
{{Árbol genealógico|   |   | , | - | - | - | + | - | - | - | . }}
{{Árbol genealógico|   |   RODER   |   |   EDAIR   |   |   EMILA   }}
|}

Produces:

King Jadon
*1030d.É.
Priestess Berea
*1030d.É.
Queen Salma
*1050d.É.
King Baede
*1180d.É.
King Roderick
*1200d.É.
Prince Edair
*1210d.É.
Princess Emilane
*1220d.É.

See also[editar]

Credits[editar]